mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +00:00
daemon: fix -R to enable supervision mode
If we're doing restarts, then we must supervise -- the 'R' case simply
got missed.
PR: 278342
Fixes: f907027b49
("daemon: set supervise_enabled during [..]")
This commit is contained in:
parent
f3f04c4027
commit
bbc6e6c5ec
@ -248,6 +248,7 @@ main(int argc, char *argv[])
|
||||
if (e != NULL) {
|
||||
errx(6, "invalid restart delay: %s", e);
|
||||
}
|
||||
state.mode = MODE_SUPERVISE;
|
||||
break;
|
||||
case 's':
|
||||
state.syslog_priority = get_log_mapping(optarg,
|
||||
|
Loading…
Reference in New Issue
Block a user