summaryrefslogtreecommitdiffstats
path: root/src/haveged.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/haveged.c')
-rw-r--r--src/haveged.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/haveged.c b/src/haveged.c
index 059bb28..59e62f5 100644
--- a/src/haveged.c
+++ b/src/haveged.c
@@ -435,7 +435,7 @@ int main(int argc, char **argv)
close(socket_fd);
return ret;
}
- else {
+ else if (!(params->setup & RUN_AS_APP)){
socket_fd = cmd_listen(params);
if (socket_fd >= 0)
fprintf(stderr, "%s: command socket is listening at fd %d\n", params->daemon, socket_fd);