diff options
author | jsorg71 <jay.sorg@gmail.com> | 2016-08-05 14:22:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-05 14:22:50 -0700 |
commit | 81fe939dd346420d41eb2afcd6c8c05a422a9e7b (patch) | |
tree | 8b9684f66f830d205454b894d313491192e42b9f /sesman | |
parent | 87da32bac8a9e639f85ca2c6dad8d8e6945961df (diff) | |
parent | c0ac8251f748754b65c81c7bb5245add9ce30bf7 (diff) | |
download | xrdp-proprietary-81fe939dd346420d41eb2afcd6c8c05a422a9e7b.tar.gz xrdp-proprietary-81fe939dd346420d41eb2afcd6c8c05a422a9e7b.zip |
Merge pull request #388 from metalefty/freebsd/fuse
sesman: Add /sbin to PATH for FreeBSD
Diffstat (limited to 'sesman')
-rw-r--r-- | sesman/env.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/env.c b/sesman/env.c index 0e92e9e2..d8bb1e98 100644 --- a/sesman/env.c +++ b/sesman/env.c @@ -125,7 +125,7 @@ env_set_user(char *username, char **passwd_file, int display, { g_clearenv(); g_setenv("SHELL", pw_shell, 1); - g_setenv("PATH", "/bin:/usr/bin:/usr/local/bin", 1); + g_setenv("PATH", "/sbin:/bin:/usr/bin:/usr/local/bin", 1); g_setenv("USER", username, 1); g_sprintf(text, "%d", uid); g_setenv("UID", text, 1); |