aboutsummaryrefslogtreecommitdiff
path: root/src/start-stop-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/start-stop-daemon.c')
-rw-r--r--src/start-stop-daemon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/start-stop-daemon.c b/src/start-stop-daemon.c
index 5e6b8c0a..2257b339 100644
--- a/src/start-stop-daemon.c
+++ b/src/start-stop-daemon.c
@@ -481,6 +481,7 @@ int main (int argc, char **argv)
{ "nicelevel", 1, NULL, 'N'},
{ "retry", 1, NULL, 'R'},
{ "start", 0, NULL, 'S'},
+ { "startas", 1, NULL, 'a'},
{ "background", 0, NULL, 'b'},
{ "chuid", 1, NULL, 'c'},
{ "chdir", 1, NULL, 'd'},
@@ -665,6 +666,7 @@ int main (int argc, char **argv)
verbose = true;
break;
+ case 'a':
case 'x': /* --exec <executable> */
exec = optarg;
break;