aboutsummaryrefslogtreecommitdiffstats
path: root/src/fcopy/main.c
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2021-10-09 13:16:31 +0000
committerLibravatar GitHub <noreply@github.com>2021-10-09 13:16:31 +0000
commit44c15b67d48f2e5d2deff3f88cbf1129979065f7 (patch)
tree093e526ad450867c3cdf0b19a48a35553a91d342 /src/fcopy/main.c
parentfirejail.h: add missing linux/limits.h include (diff)
parentMerge pull request #4579 from dm9pZCAq/master (diff)
downloadfirejail-44c15b67d48f2e5d2deff3f88cbf1129979065f7.tar.gz
firejail-44c15b67d48f2e5d2deff3f88cbf1129979065f7.tar.zst
firejail-44c15b67d48f2e5d2deff3f88cbf1129979065f7.zip
Merge branch 'master' into fix-include-limits-h
Diffstat (limited to 'src/fcopy/main.c')
-rw-r--r--src/fcopy/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fcopy/main.c b/src/fcopy/main.c
index 31810de9a..f279af89f 100644
--- a/src/fcopy/main.c
+++ b/src/fcopy/main.c
@@ -88,7 +88,8 @@ static void selinux_relabel_path(const char *path, const char *inside_path) {
88 if (arg_debug) 88 if (arg_debug)
89 printf("Relabeling %s as %s (%s)\n", path, inside_path, fcon); 89 printf("Relabeling %s as %s (%s)\n", path, inside_path, fcon);
90 90
91 setfilecon_raw(procfs_path, fcon); 91 if (setfilecon_raw(procfs_path, fcon) != 0 && arg_debug)
92 printf("Cannot relabel %s: %s\n", path, strerror(errno));
92 } 93 }
93 freecon(fcon); 94 freecon(fcon);
94 close: 95 close: