chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
networkd: add minimal client tool "networkd" to query network status
[elogind.git]
/
src
/
notify
/
notify.c
diff --git
a/src/notify/notify.c
b/src/notify/notify.c
index 2148ae0dfe03debe817b3f8c24bce66154292539..6f1c52e3fb74de2f19c057318232b87fc185d8a4 100644
(file)
--- a/
src/notify/notify.c
+++ b/
src/notify/notify.c
@@
-82,7
+82,7
@@
static int parse_argv(int argc, char *argv[]) {
assert(argc >= 0);
assert(argv);
assert(argc >= 0);
assert(argv);
- while ((c = getopt_long(argc, argv, "h", options, NULL)) >= 0)
+ while ((c = getopt_long(argc, argv, "h", options, NULL)) >= 0)
{
switch (c) {
switch (c) {
@@
-129,6
+129,7
@@
static int parse_argv(int argc, char *argv[]) {
default:
assert_not_reached("Unhandled option");
}
default:
assert_not_reached("Unhandled option");
}
+ }
if (optind >= argc &&
!arg_ready &&
if (optind >= argc &&
!arg_ready &&