aboutsummaryrefslogtreecommitdiffstats
path: root/src/satrm.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/satrm.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 '')
-rw-r--r--src/satrm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/satrm.c b/src/satrm.c
index e1280bc..b3dafcd 100644
--- a/src/satrm.c
+++ b/src/satrm.c
@@ -63,7 +63,7 @@ main(int argc, char *argv[])
if (argc > 0) argv0 = argv[0];
if (argc != 2) usage();
- if (send_command(0, argv[1]))
+ if (send_command(SAT_REMOVE, 0, argv[1]))
return errno ? (perror(argv0), 1) : 3;
return 0;
}