Init: Replace system by spawn at the first execution of status_path

This commit is contained in:
Martin Duquesnoy
2010-01-02 20:31:42 +01:00
parent 250518c2a4
commit f0daf5ba20

View File

@@ -216,7 +216,7 @@ init_status(void)
if(st.st_size && st.st_mode & S_IXUSR)
{
estatus = True;
system(status_path);
spawn(status_path);
}
else
warnx("status.sh file present in wmfs directory can't be executed, try 'chmod +x %s'.",