diff options
-rw-r--r-- | src/firejail/pulseaudio.c | 4 | ||||
-rwxr-xr-x | test/test.sh | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/firejail/pulseaudio.c b/src/firejail/pulseaudio.c index 1eb5e59e1..767aaab09 100644 --- a/src/firejail/pulseaudio.c +++ b/src/firejail/pulseaudio.c | |||
@@ -104,10 +104,6 @@ void pulseaudio_init(void) { | |||
104 | char *pulsecfg = NULL; | 104 | char *pulsecfg = NULL; |
105 | if (asprintf(&pulsecfg, "%s/client.conf", RUN_PULSE_DIR) == -1) | 105 | if (asprintf(&pulsecfg, "%s/client.conf", RUN_PULSE_DIR) == -1) |
106 | errExit("asprintf"); | 106 | errExit("asprintf"); |
107 | if (is_link("/etc/pulse/client.conf")) { | ||
108 | fprintf(stderr, "Error: invalid /etc/pulse/client.conf file\n"); | ||
109 | exit(1); | ||
110 | } | ||
111 | if (copy_file("/etc/pulse/client.conf", pulsecfg)) | 107 | if (copy_file("/etc/pulse/client.conf", pulsecfg)) |
112 | errExit("copy_file"); | 108 | errExit("copy_file"); |
113 | FILE *fp = fopen(pulsecfg, "a+"); | 109 | FILE *fp = fopen(pulsecfg, "a+"); |
diff --git a/test/test.sh b/test/test.sh index 4d57aaad2..71e2c6720 100755 --- a/test/test.sh +++ b/test/test.sh | |||
@@ -27,9 +27,6 @@ rm -fr auto2 | |||
27 | rm -fr auto3 | 27 | rm -fr auto3 |
28 | rm -fr auto4 | 28 | rm -fr auto4 |
29 | 29 | ||
30 | echo "TESTING: extract command (extract_command.exp)" | ||
31 | ./extract_command.exp | ||
32 | |||
33 | echo "TESTING: chroot overlay (option_chroot_overlay.exp)" | 30 | echo "TESTING: chroot overlay (option_chroot_overlay.exp)" |
34 | ./option_chroot_overlay.exp | 31 | ./option_chroot_overlay.exp |
35 | 32 | ||
@@ -46,8 +43,6 @@ sleep 5 | |||
46 | rm -f tmpreadonly | 43 | rm -f tmpreadonly |
47 | 44 | ||
48 | 45 | ||
49 | echo "TESTING: output (output.exp)" | ||
50 | ./output.exp | ||
51 | 46 | ||
52 | echo "TESTING: private directory (private_dir.exp)" | 47 | echo "TESTING: private directory (private_dir.exp)" |
53 | rm -fr dirprivate | 48 | rm -fr dirprivate |