diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c index 1ba70b0bd..e765d1d8d 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c | |||
@@ -871,7 +871,7 @@ char *guess_shell(void) { | |||
871 | if (shell) { | 871 | if (shell) { |
872 | invalid_filename(shell, 0); // no globbing | 872 | invalid_filename(shell, 0); // no globbing |
873 | if (access(shell, X_OK) == 0 && !is_dir(shell) && strstr(shell, "..") == NULL && | 873 | if (access(shell, X_OK) == 0 && !is_dir(shell) && strstr(shell, "..") == NULL && |
874 | strcmp(shell, PATH_FIREJAIL) != 0) | 874 | strcmp(gnu_basename(shell), "firejail") != 0) |
875 | goto found; | 875 | goto found; |
876 | } | 876 | } |
877 | 877 | ||