summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rc/start-stop-daemon.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c
index b5c2b6e..3017701 100644
--- a/src/rc/start-stop-daemon.c
+++ b/src/rc/start-stop-daemon.c
@@ -788,12 +788,11 @@ start_stop_daemon(int argc, char **argv)
background = true;
break;
- case 'u': /* --user <username>|<uid> */
case 'c': /* --chuid <username>|<uid> */
- {
/* DEPRECATED */
ewarn("WARNING: -c/--chuid is deprecated and will be removed in the future, please use -u/--user instead");
-
+ case 'u': /* --user <username>|<uid> */
+ {
p = optarg;
tmp = strsep(&p, ":");
changeuser = xstrdup(tmp);