make run_stop_schedule accept a pid instead of a pid file
This commit is contained in:
@@ -657,7 +657,7 @@ int main(int argc, char **argv)
|
||||
else
|
||||
parse_schedule(applet, NULL, sig);
|
||||
i = run_stop_schedule(applet, exec, (const char *const *)margv,
|
||||
pidfile, uid, test, progress);
|
||||
get_pid(applet, pidfile), uid, test, progress);
|
||||
|
||||
if (i < 0)
|
||||
/* We failed to stop something */
|
||||
|
||||
Reference in New Issue
Block a user