Skip to content

Commit

Permalink
Prettier output
Browse files Browse the repository at this point in the history
  • Loading branch information
jclehner committed Oct 2, 2024
1 parent 0b755d4 commit 904479b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nmrp.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,13 +592,13 @@ int nmrp_do(struct nmrpd_args *args)
/* because we don't want nmrpflash's exit status to be zero */
status = 1;
if ((time_monotonic() - beg) >= timeout) {
printf("\nNo response after %d seconds.\n", timeout);
printf("\nNo response after %d seconds. ", timeout);
if (!args->blind || !was_plugged_in) {
printf("Bailing out");
if (!was_plugged_in) {
printf(" (Ethernet cable still unplugged)");
printf("Ethernet cable unplugged. ");
}
printf(".\n");

printf("Bailing out.\n");
goto out;
} else {
// we're blind, so fake a response from the MAC specified by -m
Expand Down

0 comments on commit 904479b

Please sign in to comment.