aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scan.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/scan.c b/scan.c
index ab7c1b7..c0a0d94 100644
--- a/scan.c
+++ b/scan.c
@@ -407,9 +407,8 @@ main(int argc, char **argv)
struct kevent evt[6];
pid_t mypid = getpid();
- if (argc > 1) {
+ if (argc > 1)
supdir = argv[1];
- }
if (chdir(supdir) == -1)
err(1, "chdir()");