diff options
-rw-r--r-- | libfstools/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfstools/mount.c b/libfstools/mount.c index b30e5a6..1691ce7 100644 --- a/libfstools/mount.c +++ b/libfstools/mount.c @@ -99,7 +99,7 @@ selinux_restorecon(char *overlaydir) restorecon_pid = fork(); if (!restorecon_pid) - execl("/sbin/restorecon", "restorecon", overlaydir, (char *) NULL); + exit(execl("/sbin/restorecon", "restorecon", overlaydir, (char *) NULL)); else if (restorecon_pid > 0) waitpid(restorecon_pid, &status, 0); } |