summaryrefslogtreecommitdiffstats
path: root/runtime/stpd/librelay.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/stpd/librelay.c')
-rw-r--r--runtime/stpd/librelay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stpd/librelay.c b/runtime/stpd/librelay.c
index fb600280..33dc20fa 100644
--- a/runtime/stpd/librelay.c
+++ b/runtime/stpd/librelay.c
@@ -417,7 +417,7 @@ int init_relayfs(void)
if (WIFEXITED(wstat) && WEXITSTATUS(wstat)) {
perror (stp_check);
fprintf(stderr, "Could not execute %s\n", stp_check);
- exit(1);
+ return -1;
}
if (statfs("/mnt/relay", &st) == 0 && (int) st.f_type == (int) RELAYFS_MAGIC)