diff options
author | netblue30 <netblue30@yahoo.com> | 2018-04-02 07:24:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-02 07:24:15 -0500 |
commit | 05bddb54e774c87755860d5d5695ff139c06a8db (patch) | |
tree | b862bd69e10bdc3c03fb4211fb58851f338c49ab /src/firejail/main.c | |
parent | Merge pull request #1827 from intika/master (diff) | |
parent | add --noautopulse arg for complex pulse setups (diff) | |
download | firejail-05bddb54e774c87755860d5d5695ff139c06a8db.tar.gz firejail-05bddb54e774c87755860d5d5695ff139c06a8db.tar.zst firejail-05bddb54e774c87755860d5d5695ff139c06a8db.zip |
Merge pull request #1854 from melvinvermeeren/master
add --noautopulse arg for complex pulse setups
Diffstat (limited to 'src/firejail/main.c')
-rw-r--r-- | src/firejail/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c index 6dc19abdd..52f6af667 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c | |||
@@ -94,6 +94,7 @@ int arg_private_lib = 0; // private lib directory | |||
94 | int arg_scan = 0; // arp-scan all interfaces | 94 | int arg_scan = 0; // arp-scan all interfaces |
95 | int arg_whitelist = 0; // whitelist commad | 95 | int arg_whitelist = 0; // whitelist commad |
96 | int arg_nosound = 0; // disable sound | 96 | int arg_nosound = 0; // disable sound |
97 | int arg_noautopulse = 0; // disable automatic ~/.config/pulse init | ||
97 | int arg_novideo = 0; //disable video devices in /dev | 98 | int arg_novideo = 0; //disable video devices in /dev |
98 | int arg_no3d; // disable 3d hardware acceleration | 99 | int arg_no3d; // disable 3d hardware acceleration |
99 | int arg_quiet = 0; // no output for scripting | 100 | int arg_quiet = 0; // no output for scripting |
@@ -1727,6 +1728,8 @@ int main(int argc, char **argv) { | |||
1727 | env_store(argv[i] + 8, RMENV); | 1728 | env_store(argv[i] + 8, RMENV); |
1728 | else if (strcmp(argv[i], "--nosound") == 0) | 1729 | else if (strcmp(argv[i], "--nosound") == 0) |
1729 | arg_nosound = 1; | 1730 | arg_nosound = 1; |
1731 | else if (strcmp(argv[i], "--noautopulse") == 0) | ||
1732 | arg_noautopulse = 1; | ||
1730 | else if (strcmp(argv[i], "--novideo") == 0) | 1733 | else if (strcmp(argv[i], "--novideo") == 0) |
1731 | arg_novideo = 1; | 1734 | arg_novideo = 1; |
1732 | else if (strcmp(argv[i], "--no3d") == 0) | 1735 | else if (strcmp(argv[i], "--no3d") == 0) |