diff options
author | netblue30 <netblue30@protonmail.com> | 2021-05-12 18:04:17 -0400 |
---|---|---|
committer | netblue30 <netblue30@protonmail.com> | 2021-05-12 18:04:17 -0400 |
commit | 6a794ed4dbc96ceb79c5655330ced50ac507fbbb (patch) | |
tree | bd014c0deb22dcaed914654ac271d69ae67cf38d /src | |
parent | more --build (diff) | |
download | firejail-6a794ed4dbc96ceb79c5655330ced50ac507fbbb.tar.gz firejail-6a794ed4dbc96ceb79c5655330ced50ac507fbbb.tar.zst firejail-6a794ed4dbc96ceb79c5655330ced50ac507fbbb.zip |
force --noautopulse when running --noprofile in order to leave ~/.config/pulse directory unchanged
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c index d6de6d997..a0ee1e433 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c | |||
@@ -1824,6 +1824,8 @@ int main(int argc, char **argv, char **envp) { | |||
1824 | exit(1); | 1824 | exit(1); |
1825 | } | 1825 | } |
1826 | arg_noprofile = 1; | 1826 | arg_noprofile = 1; |
1827 | // force noautopulse in order to keep ~/.config/pulse as is | ||
1828 | arg_noautopulse = 1; | ||
1827 | } | 1829 | } |
1828 | else if (strncmp(argv[i], "--ignore=", 9) == 0) { | 1830 | else if (strncmp(argv[i], "--ignore=", 9) == 0) { |
1829 | if (custom_profile) { | 1831 | if (custom_profile) { |