From 52fd86ab718439b6be29b8807dc52c71bc1567a6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 25 Dec 2015 21:45:21 +0100 Subject: improve send_command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/satr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/satr.c') 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; } -- cgit v1.2.3-70-g09d2