aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/satd-list.c')
-rw-r--r--src/satd-list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/satd-list.c b/src/satd-list.c
index 28a6e28..898c236 100644
--- a/src/satd-list.c
+++ b/src/satd-list.c
@@ -254,6 +254,8 @@ main(int argc, char *argv[])
struct job** jobs;
struct job** job;
+ t (reopen(STATE_FILENO, O_RDRW));
+
/* Receive and validate message. */
t (readall(SOCK_FILENO, &message, &n) || n);
shutdown(SOCK_FILENO, SHUT_RD);