diff options
Diffstat (limited to 'src/netreport.c')
-rw-r--r-- | src/netreport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netreport.c b/src/netreport.c index cceedc3a..4ed2a861 100644 --- a/src/netreport.c +++ b/src/netreport.c @@ -26,7 +26,7 @@ int main(int argc, char ** argv) { } if (argc > 1) { - if (strcmp(argv[1], "-r") == 0) { + if (argc == 2 && strcmp(argv[1], "-r") == 0) { action = DEL; } else { usage(); |