mirror of
https://github.com/systemd/systemd.git
synced 2025-02-02 13:47:27 +03:00
Add quotes for -n
According to SC2070, -n doesn't work with unquoted arguments https://github.com/koalaman/shellcheck/wiki/SC2070 Signed-off-by: Gaoyi <ymuemc@163.com>
This commit is contained in:
parent
22aa58adc9
commit
0090b551e6
@ -120,7 +120,7 @@ systemctlCheckNUMAProperties() {
|
||||
|
||||
> "$LOGFILE"
|
||||
|
||||
if [ -n $3 ]; then
|
||||
if [ -n "$3" ]; then
|
||||
systemctl show -p NUMAMask $1 > "$LOGFILE"
|
||||
grep "NUMAMask=$3" "$LOGFILE"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user