projects
/
oweals
/
nmrpflash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66d3a44
)
Show different message if no upload requests were received
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Sat, 13 Feb 2016 23:04:03 +0000
(
00:04
+0100)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Sat, 13 Feb 2016 23:04:03 +0000
(
00:04
+0100)
nmrp.c
patch
|
blob
|
history
diff --git
a/nmrp.c
b/nmrp.c
index f307a9d564fed9a3f4cbb0ca1692a55dd2fe3ec2..ff4aeb7ac430ece23ed7d00c04615365fb879c20 100644
(file)
--- a/
nmrp.c
+++ b/
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);