mirror of
https://github.com/sheumann/hush.git
synced 2025-01-11 23:29:51 +00:00
start_stop_daemon: accept (and ignore) -R <param>
This commit is contained in:
parent
739e30fbc3
commit
75897ea6d5
@ -349,11 +349,11 @@ int start_stop_daemon_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
opt_complementary = "K:S:K--S:S--K:m?p:K?xpun:S?xa"
|
opt_complementary = "K:S:K--S:S--K:m?p:K?xpun:S?xa"
|
||||||
USE_FEATURE_START_STOP_DAEMON_FANCY("q-v");
|
USE_FEATURE_START_STOP_DAEMON_FANCY("q-v");
|
||||||
opt = getopt32(argv, "KSbqtma:n:s:u:c:x:p:"
|
opt = getopt32(argv, "KSbqtma:n:s:u:c:x:p:"
|
||||||
USE_FEATURE_START_STOP_DAEMON_FANCY("ovN:"),
|
USE_FEATURE_START_STOP_DAEMON_FANCY("ovN:R:"),
|
||||||
// USE_FEATURE_START_STOP_DAEMON_FANCY("ovN:R:"),
|
|
||||||
&startas, &cmdname, &signame, &userspec, &chuid, &execname, &pidfile
|
&startas, &cmdname, &signame, &userspec, &chuid, &execname, &pidfile
|
||||||
USE_FEATURE_START_STOP_DAEMON_FANCY(,&opt_N)
|
USE_FEATURE_START_STOP_DAEMON_FANCY(,&opt_N)
|
||||||
// USE_FEATURE_START_STOP_DAEMON_FANCY(,&retry_arg)
|
/* We accept and ignore -R <param> / --retry <param> */
|
||||||
|
USE_FEATURE_START_STOP_DAEMON_FANCY(,NULL)
|
||||||
);
|
);
|
||||||
|
|
||||||
if (opt & OPT_s) {
|
if (opt & OPT_s) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user