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:
44782be
)
Don't require root/admin for -L
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Tue, 21 Feb 2017 17:30:00 +0000
(18:30 +0100)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Tue, 21 Feb 2017 17:30:00 +0000
(18:30 +0100)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 11d8d09bc7a181e9206470c10cdfc43c983c50a6..9cf0041c2b82aea2e25388c7ba1dc812dc44ed45 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-276,7
+276,9
@@
int main(int argc, char **argv)
return 1;
}
- require_admin();
+ if (!list) {
+ require_admin();
+ }
#endif
val = !list ? nmrp_do(&args) : ethsock_list_all();