aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/tools/profcleaner.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/profcleaner.sh b/src/tools/profcleaner.sh
index 4f6ca88f5..ded3313fa 100755
--- a/src/tools/profcleaner.sh
+++ b/src/tools/profcleaner.sh
@@ -22,14 +22,14 @@ if [[ $1 == --help ]]; then
22 cat <<-EOM 22 cat <<-EOM
23 USAGE: 23 USAGE:
24 profcleaner.sh --help Show this help message and exit 24 profcleaner.sh --help Show this help message and exit
25 profcleaner.sh --all Clean all profiles in /etc/firejail 25 profcleaner.sh --system Clean all profiles in /etc/firejail
26 profcleaner.sh --user Clean all profiles in ~/.config/firejail 26 profcleaner.sh --user Clean all profiles in ~/.config/firejail
27 profcleaner.sh /path/to/profile1 /path/to/profile2 ... 27 profcleaner.sh /path/to/profile1 /path/to/profile2 ...
28 EOM 28 EOM
29 exit 0 29 exit 0
30fi 30fi
31 31
32if [[ $1 == --all ]]; then 32if [[ $1 == --system ]]; then
33 profiles=(/etc/firejail/*.{inc,local,profile}) 33 profiles=(/etc/firejail/*.{inc,local,profile})
34elif [[ $1 == --user ]]; then 34elif [[ $1 == --user ]]; then
35 profiles=("$HOME"/.config/firejail/*.{inc,local,profile}) 35 profiles=("$HOME"/.config/firejail/*.{inc,local,profile})