summaryrefslogtreecommitdiff
path: root/runit/sv.c
diff options
context:
space:
mode:
Diffstat (limited to 'runit/sv.c')
-rw-r--r--runit/sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/sv.c b/runit/sv.c
index 9181fff..e9bfc75 100644
--- a/runit/sv.c
+++ b/runit/sv.c
@@ -427,7 +427,7 @@ int sv_main(int argc, char **argv)
x = getenv("SVWAIT");
if (x) waitsec = xatoul(x);
- opt = getopt32(argc, argv, "w:v", &x);
+ opt = getopt32(argv, "w:v", &x);
if (opt & 1) waitsec = xatoul(x); // -w
if (opt & 2) verbose = 1; // -v
argc -= optind;