diff options
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r-- | src/firejail/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index daa0a2e92..3a4d74317 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -1562,7 +1562,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
1562 | EUID_USER(); | 1562 | EUID_USER(); |
1563 | if (!r) { | 1563 | if (!r) { |
1564 | if (!cfg.shell && !arg_shell_none) | 1564 | if (!cfg.shell && !arg_shell_none) |
1565 | cfg.shell = guess_shell(); | 1565 | cfg.shell = cfg.usershell; |
1566 | 1566 | ||
1567 | // find first non-option arg | 1567 | // find first non-option arg |
1568 | int i; | 1568 | int i; |