seoz pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=eeedb6a9d8009f2c51dc9fe40d55b0458987d9bc

commit eeedb6a9d8009f2c51dc9fe40d55b0458987d9bc
Author: Daniel Juyung Seo <[email protected]>
Date:   Mon Jul 7 11:58:52 2014 +0900

    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
---
 src/bin/e_sys_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_sys_main.c b/src/bin/e_sys_main.c
index b36b785..38275c5 100644
--- a/src/bin/e_sys_main.c
+++ b/src/bin/e_sys_main.c
@@ -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)

-- 


Reply via email to