diff options
| author | William Hubbs <w.d.hubbs@gmail.com> | 2017-09-14 18:24:31 -0500 | 
|---|---|---|
| committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-09-14 18:24:39 -0500 | 
| commit | b0a077a35f85e266fdb82a245dcbda18664a8567 (patch) | |
| tree | c2edf38310bd2e3a1d0ef5d9e4367780731755f4 /src/rc/start-stop-daemon.c | |
| parent | 6a5ca2ab368d0a85f51bb559672dba2e3ffcc6be (diff) | |
| download | openrc-b0a077a35f85e266fdb82a245dcbda18664a8567.tar.xz | |
add quiet switch to do_stop in src-schedules.c
This allows supervise-daemon to run this code without attempting to
print some status messages used by start-stop-daemon.
Diffstat (limited to 'src/rc/start-stop-daemon.c')
| -rw-r--r-- | src/rc/start-stop-daemon.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c index 46784b26..dab8b3b1 100644 --- a/src/rc/start-stop-daemon.c +++ b/src/rc/start-stop-daemon.c @@ -684,7 +684,7 @@ int main(int argc, char **argv)  		pid = 0;  	if (do_stop(applet, exec, (const char * const *)margv, pid, uid, -		0, test) > 0) +		0, test, false) > 0)  		eerrorx("%s: %s is already running", applet, exec);  	if (test) { @@ -964,7 +964,7 @@ int main(int argc, char **argv)  			} else  				pid = 0;  			if (do_stop(applet, exec, (const char *const *)margv, -				pid, uid, 0, test) > 0) +				pid, uid, 0, test, false) > 0)  				alive = true;  		} | 
