mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
deprecating --shell (3) (#5196)
This commit is contained in:
parent
9c4772f653
commit
7ad735deaf
2 changed files with 5 additions and 5 deletions
|
|
@ -528,7 +528,7 @@ void start_application(int no_sandbox, int fd, char *set_sandbox_status) {
|
|||
//****************************************
|
||||
// start the program without using a shell
|
||||
//****************************************
|
||||
else if (!arg_appimage) {
|
||||
else if (!arg_appimage && !arg_doubledash) {
|
||||
if (arg_debug) {
|
||||
int i;
|
||||
for (i = cfg.original_program_index; i < cfg.original_argc; i++) {
|
||||
|
|
@ -560,9 +560,9 @@ void start_application(int no_sandbox, int fd, char *set_sandbox_status) {
|
|||
execvp(cfg.original_argv[cfg.original_program_index], &cfg.original_argv[cfg.original_program_index]);
|
||||
}
|
||||
//****************************************
|
||||
// start the program using a shell (appimages)
|
||||
// start the program using a shell
|
||||
//****************************************
|
||||
else { // appimage
|
||||
else { // appimage or double-dash
|
||||
char *arg[5];
|
||||
int index = 0;
|
||||
assert(cfg.usershell);
|
||||
|
|
|
|||
|
|
@ -81,11 +81,11 @@ spawn $env(SHELL)
|
|||
send -- "firejail --debug --join=test\r"
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 13\n";exit}
|
||||
"User namespace detected"
|
||||
"Joining user namespace"
|
||||
}
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 14\n";exit}
|
||||
"Joining user namespace"
|
||||
"Child process initialized"
|
||||
}
|
||||
sleep 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue