aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/sledjchisl/sledjchisl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 5c69252..8f4ea91 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -7473,8 +7473,9 @@ static void cleanup(void)
7473 7473
7474 char *cmd = xmprintf("%s/sledjchisl.socket", scRun); 7474 char *cmd = xmprintf("%s/sledjchisl.socket", scRun);
7475 7475
7476 if (qfile_exist(cmd)) 7476 if (isWeb && qfile_exist(cmd))
7477 { 7477 {
7478 V("Deleting web socket.");
7478 free(cmd); 7479 free(cmd);
7479 cmd = xmprintf("rm %s/sledjchisl.socket", scRun); 7480 cmd = xmprintf("rm %s/sledjchisl.socket", scRun);
7480 if (!WIFEXITED(system(cmd))) 7481 if (!WIFEXITED(system(cmd)))