diff options
author | 2021-11-05 06:14:39 +0000 | |
---|---|---|
committer | 2021-11-05 06:14:39 +0000 | |
commit | a75645f06832b02d9a7032667d28cd05e27e71f2 (patch) | |
tree | 8b75dbe0a0b33f7f54d6c355b7dd13de18ec920a /linecnt.sh | |
parent | adding more SUID executables to disable-common.inc (diff) | |
parent | Fix some shellcheck warnings (diff) | |
download | firejail-a75645f06832b02d9a7032667d28cd05e27e71f2.tar.gz firejail-a75645f06832b02d9a7032667d28cd05e27e71f2.tar.zst firejail-a75645f06832b02d9a7032667d28cd05e27e71f2.zip |
Fix shellcheck warnings
Diffstat (limited to 'linecnt.sh')
-rwxr-xr-x | linecnt.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linecnt.sh b/linecnt.sh index 86bccbc07..c30e175ba 100755 --- a/linecnt.sh +++ b/linecnt.sh | |||
@@ -4,7 +4,7 @@ | |||
4 | # License GPL v2 | 4 | # License GPL v2 |
5 | 5 | ||
6 | gcov_init() { | 6 | gcov_init() { |
7 | USER=`whoami` | 7 | USER="$(whoami)" |
8 | firejail --help > /dev/null | 8 | firejail --help > /dev/null |
9 | firemon --help > /dev/null | 9 | firemon --help > /dev/null |
10 | /usr/lib/firejail/fnet --help > /dev/null | 10 | /usr/lib/firejail/fnet --help > /dev/null |
@@ -20,7 +20,7 @@ gcov_init() { | |||
20 | /usr/lib/firejail/faudit --help > /dev/null | 20 | /usr/lib/firejail/faudit --help > /dev/null |
21 | /usr/lib/firejail/fbuilder --help > /dev/null | 21 | /usr/lib/firejail/fbuilder --help > /dev/null |
22 | 22 | ||
23 | sudo chown $USER:$USER `find .` | 23 | find . -exec sudo chown "$USER:$USER" '{}' + |
24 | } | 24 | } |
25 | 25 | ||
26 | rm -fr gcov-dir | 26 | rm -fr gcov-dir |