diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-29 05:21:03 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-29 05:21:07 +0100 |
commit | 85db4a5a454c6f27bfb4ffa07b62734277aa3bbb (patch) | |
tree | d753adb34128d7f84204459ad69012ded54529de /src/satd-run.c | |
parent | implement send_string, remove_job (except for running the job), and get_jobs (diff) | |
download | sat-85db4a5a454c6f27bfb4ffa07b62734277aa3bbb.tar.gz sat-85db4a5a454c6f27bfb4ffa07b62734277aa3bbb.tar.bz2 sat-85db4a5a454c6f27bfb4ffa07b62734277aa3bbb.tar.xz |
implement job running in remove_job
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/satd-run.c')
-rw-r--r-- | src/satd-run.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/satd-run.c b/src/satd-run.c index 763b8f7..1af4834 100644 --- a/src/satd-run.c +++ b/src/satd-run.c @@ -26,10 +26,9 @@ /** * Subroutine to the sat daemon: run jobs early. * - * @param argc Should be 4. + * @param argc Should be 3. * @param argv The name of the process, the pathname of the socket, - * the pathname to the state file, and $SAT_HOOK_PATH - * (the pathname of the hook-script.) + * and the pathname to the state file. * @return 0 The process was successful. * @return 1 The process failed queuing the job. */ @@ -42,7 +41,7 @@ main(int argc, char *argv[]) char **arg; int rc = 0; - assert(argc == 4); + assert(argc == 3); t (reopen(STATE_FILENO, O_RDWR)); /* Receive and validate message. */ |