Show different message if no upload requests were received
This commit is contained in:
parent
66d3a4431f
commit
23f1eb2469
1 changed files with 5 additions and 1 deletions
6
nmrp.c
6
nmrp.c
|
|
@ -634,7 +634,11 @@ int nmrp_do(struct nmrpd_args *args)
|
|||
|
||||
status = 0;
|
||||
|
||||
printf("Reboot your device now.\n");
|
||||
if (ulreqs) {
|
||||
printf("Reboot your device now.\n");
|
||||
} else {
|
||||
printf("No upload request received.\n");
|
||||
}
|
||||
|
||||
out:
|
||||
signal(SIGINT, sigh_orig);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue