aboutsummaryrefslogtreecommitdiffstats
path: root/src/satr.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-25 21:45:21 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-25 21:45:21 +0100
commit52fd86ab718439b6be29b8807dc52c71bc1567a6 (patch)
tree70b3e55b49145d829ebf8f83722f3a93e27119cc /src/satr.c
parentit shall be possible to slect jobs in satr (diff)
downloadsat-52fd86ab718439b6be29b8807dc52c71bc1567a6.tar.gz
sat-52fd86ab718439b6be29b8807dc52c71bc1567a6.tar.bz2
sat-52fd86ab718439b6be29b8807dc52c71bc1567a6.tar.xz
improve send_command
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/satr.c')
-rw-r--r--src/satr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/satr.c b/src/satr.c
index 11317c7..df85ee2 100644
--- a/src/satr.c
+++ b/src/satr.c
@@ -62,7 +62,7 @@ main(int argc, char *argv[])
if (argc > 0) argv0 = argv[0];
if (argc > 1) usage(); /* TODO possibility to select job */
- if (send_command(1, NULL))
+ if (send_command(SAT_RUN, 0, NULL))
return errno ? (perror(argv0), 1) : 3;
return 0;
}