aboutsummaryrefslogtreecommitdiffstats
path: root/mkuid.sh
diff options
context:
space:
mode:
authorLibravatar a1346054 <36859588+a1346054@users.noreply.github.com>2021-08-31 13:24:56 +0000
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2021-11-05 02:59:23 -0300
commitefcd54c0db501e9438cfc97f3ff2e6aa546ecb55 (patch)
tree3410a9294ea70808a71e741920918adeba11c4d0 /mkuid.sh
parentMerge pull request #4533 from smitsohu/exitcode (diff)
downloadfirejail-efcd54c0db501e9438cfc97f3ff2e6aa546ecb55.tar.gz
firejail-efcd54c0db501e9438cfc97f3ff2e6aa546ecb55.tar.zst
firejail-efcd54c0db501e9438cfc97f3ff2e6aa546ecb55.zip
Fix some shellcheck warnings
Note: This does not modify the configure script, which is a source of a lot of the remaining shellcheck warnings, because it comes from autoconf and so it makes little sense to try to fix it here. Also, it does not modify the scripts in contrib, because they possibly are maintained at some other place. Similarly with the other scripts that don't appear to be called from any of the makefiles.
Diffstat (limited to 'mkuid.sh')
-rwxr-xr-xmkuid.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkuid.sh b/mkuid.sh
index 0264628cc..47aa42acd 100755
--- a/mkuid.sh
+++ b/mkuid.sh
@@ -9,8 +9,8 @@ echo "#define FIREJAIL_UIDS_H" >> uids.h
9 9
10if [ -r /etc/login.defs ] 10if [ -r /etc/login.defs ]
11then 11then
12 UID_MIN=`awk '/^\s*UID_MIN\s*([0-9]*).*?$/ {print $2}' /etc/login.defs` 12 UID_MIN="$(awk '/^\s*UID_MIN\s*([0-9]*).*?$/ {print $2}' /etc/login.defs)"
13 GID_MIN=`awk '/^\s*GID_MIN\s*([0-9]*).*?$/ {print $2}' /etc/login.defs` 13 GID_MIN="$(awk '/^\s*GID_MIN\s*([0-9]*).*?$/ {print $2}' /etc/login.defs)"
14fi 14fi
15 15
16# use default values if not found 16# use default values if not found