summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/daemontools-extras/s6-setsid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemontools-extras/s6-setsid.c b/src/daemontools-extras/s6-setsid.c
index 51de048..609b041 100644
--- a/src/daemontools-extras/s6-setsid.c
+++ b/src/daemontools-extras/s6-setsid.c
@@ -19,7 +19,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
subgetopt_t l = SUBGETOPT_ZERO ;
for (;;)
{
- register int opt = subgetopt_r(argc, argv, "sbfgiIqt:", &l) ;
+ register int opt = subgetopt_r(argc, argv, "sbfgiIqd:", &l) ;
if (opt == -1) break ;
switch (opt)
{
@@ -30,7 +30,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
case 'i' : insist = 2 ; break ;
case 'I' : insist = 1 ; break ;
case 'q' : insist = 0 ; break ;
- case 't' : if (!uint0_scan(l.arg, &ctty)) dieusage() ; break ;
+ case 'd' : if (!uint0_scan(l.arg, &ctty)) dieusage() ; break ;
default : dieusage() ;
}
}