jail: return to hook callback instead of just calling it
[project/procd.git] / jail / jail.c
index d61bbe07138b91107e0ccd84a5a9a570b50d94ea..24a3df3a38643b6e90735a3c39ca32820f9d791d 100644 (file)
@@ -457,7 +457,7 @@ static void run_hooklist(void)
        struct stat s;
 
        if (!hook)
-               hook_return_cb();
+               return hook_return_cb();
 
        DEBUG("executing hook %s\n", hook->file);