diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rest.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1247,7 +1247,7 @@ static int og_set_client_mode(struct og_dbi *dbi, const char *mac, "/opt/opengnsys/bin/setclientmode", filename, NULL); syslog(LOG_ERR, "failed script execution (%s:%d)\n", __func__, __LINE__); - exit(EXIT_FAILURE); + return -1; } else { wait(&status); } |