diff options
author | trz <trz> | 2006-09-22 14:49:17 +0000 |
---|---|---|
committer | trz <trz> | 2006-09-22 14:49:17 +0000 |
commit | b78daaff85e81dc2a08b4f920ed8c9c8500b5020 (patch) | |
tree | e84ab015733e9d813f7d3f793552ed727bad6668 /runtime/stpd/librelay.c | |
parent | cb35348ce58d44c8a68ed889412a39dab1bc8292 (diff) | |
download | systemtap-steved-b78daaff85e81dc2a08b4f920ed8c9c8500b5020.tar.gz systemtap-steved-b78daaff85e81dc2a08b4f920ed8c9c8500b5020.tar.xz systemtap-steved-b78daaff85e81dc2a08b4f920ed8c9c8500b5020.zip |
clean up if stp_check fails
Diffstat (limited to 'runtime/stpd/librelay.c')
-rw-r--r-- | runtime/stpd/librelay.c | 2 |
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) |