diff options
author | 2016-04-12 13:10:01 -0400 | |
---|---|---|
committer | 2016-04-12 13:10:01 -0400 | |
commit | 2f0e5748a03566a085c020528be947fcfba1af9e (patch) | |
tree | a0e7b8617bcf5cfbd77f288e903cf88042cd4296 /src/firejail/paths.c | |
parent | added /usr/local/bin to private-bin (diff) | |
parent | fs_bin.c: typo (diff) | |
download | firejail-2f0e5748a03566a085c020528be947fcfba1af9e.tar.gz firejail-2f0e5748a03566a085c020528be947fcfba1af9e.tar.zst firejail-2f0e5748a03566a085c020528be947fcfba1af9e.zip |
Merge pull request #427 from avoidr/paths_fix
Paths fix
Diffstat (limited to 'src/firejail/paths.c')
-rw-r--r-- | src/firejail/paths.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/paths.c b/src/firejail/paths.c index 3d4b8cd8e..74b8dfe55 100644 --- a/src/firejail/paths.c +++ b/src/firejail/paths.c | |||
@@ -75,9 +75,10 @@ char **build_paths(void) { | |||
75 | memset(paths, 0, sizeof(char *) * cnt); | 75 | memset(paths, 0, sizeof(char *) * cnt); |
76 | 76 | ||
77 | // add default paths | 77 | // add default paths |
78 | add_path("/usr/local/bin"); | ||
78 | add_path("/bin"); | 79 | add_path("/bin"); |
79 | add_path("/sbin"); | ||
80 | add_path("/usr/bin"); | 80 | add_path("/usr/bin"); |
81 | add_path("/sbin"); | ||
81 | add_path("/usr/sbin"); | 82 | add_path("/usr/sbin"); |
82 | 83 | ||
83 | path2 = strdup(path1); | 84 | path2 = strdup(path1); |