aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 b5c2b6e7..30177015 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);