diff options
author | 2021-11-05 06:14:39 +0000 | |
---|---|---|
committer | 2021-11-05 06:14:39 +0000 | |
commit | a75645f06832b02d9a7032667d28cd05e27e71f2 (patch) | |
tree | 8b75dbe0a0b33f7f54d6c355b7dd13de18ec920a /mkuid.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 'mkuid.sh')
-rwxr-xr-x | mkuid.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,8 +9,8 @@ echo "#define FIREJAIL_UIDS_H" >> uids.h | |||
9 | 9 | ||
10 | if [ -r /etc/login.defs ] | 10 | if [ -r /etc/login.defs ] |
11 | then | 11 | then |
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)" |
14 | fi | 14 | fi |
15 | 15 | ||
16 | # use default values if not found | 16 | # use default values if not found |