forked from enlightenment/enlightenment
sys: Add /sbin and /usr/sbin to sys env path.
Now suspend and hibernate work well on some distributions like Ubuntu. It was broken at some point. Now it works well. @fix
This commit is contained in:
parent
4c88b83fa6
commit
eeedb6a9d8
|
@ -278,7 +278,7 @@ main(int argc,
|
|||
#endif
|
||||
|
||||
/* pass 3 - set path and ifs to minimal defaults */
|
||||
putenv("PATH=/bin:/usr/bin");
|
||||
putenv("PATH=/bin:/usr/bin:/sbin:/usr/sbin");
|
||||
putenv("IFS= \t\n");
|
||||
|
||||
if ((!test)
|
||||
|
|
Loading…
Reference in New Issue