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:
Daniel Juyung Seo 2014-07-07 11:58:52 +09:00
parent 4c88b83fa6
commit eeedb6a9d8
1 changed files with 1 additions and 1 deletions

View File

@ -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)