aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2018-08-04 16:40:51 +0200
committerLibravatar GitHub <noreply@github.com>2018-08-04 16:40:51 +0200
commite78759f7477ec00586c03a89d84de824137d40f1 (patch)
tree7abf5bcaad26e824d1f61061afe25af9a062ab3c /src
parentautomatically trim trailing slashes for whitelisting, fix mountinfo test (diff)
downloadfirejail-e78759f7477ec00586c03a89d84de824137d40f1.tar.gz
firejail-e78759f7477ec00586c03a89d84de824137d40f1.tar.zst
firejail-e78759f7477ec00586c03a89d84de824137d40f1.zip
indentation fix
Diffstat (limited to 'src')
-rw-r--r--src/firejail/fs_whitelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/fs_whitelist.c b/src/firejail/fs_whitelist.c
index 74ca8ac25..6a6e91bc9 100644
--- a/src/firejail/fs_whitelist.c
+++ b/src/firejail/fs_whitelist.c
@@ -566,7 +566,7 @@ void fs_whitelist(void) {
566 if ((end - new_name) > 1) { 566 if ((end - new_name) > 1) {
567 end--; 567 end--;
568 while (*end == '/' || 568 while (*end == '/' ||
569 (*end == '.' && *(end - 1) == '/')) { 569 (*end == '.' && *(end - 1) == '/')) {
570 *end = '\0'; 570 *end = '\0';
571 end--; 571 end--;
572 if (end == new_name) 572 if (end == new_name)