aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2021-05-12 18:04:17 -0400
committerLibravatar netblue30 <netblue30@protonmail.com>2021-05-12 18:04:17 -0400
commit6a794ed4dbc96ceb79c5655330ced50ac507fbbb (patch)
treebd014c0deb22dcaed914654ac271d69ae67cf38d
parentmore --build (diff)
downloadfirejail-6a794ed4dbc96ceb79c5655330ced50ac507fbbb.tar.gz
firejail-6a794ed4dbc96ceb79c5655330ced50ac507fbbb.tar.zst
firejail-6a794ed4dbc96ceb79c5655330ced50ac507fbbb.zip
force --noautopulse when running --noprofile in order to leave ~/.config/pulse directory unchanged
-rw-r--r--src/firejail/main.c2
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) {