Fix bug for 5.9

This commit is contained in:
Samson-W 2018-11-21 16:22:29 -05:00
parent 286434cff2
commit 45a1d8ab0b
2 changed files with 1 additions and 2 deletions

View File

@ -32,7 +32,7 @@ apply () {
if [ $FNRET = 0 ]; then
ok "$TARGETNAME is disabled."
else
TARGETS=$(find /lib/systemd/ /etc/systemd/ -name ctrl-alt-del.target -exec ls -l {} \;| grep -v "/dev/null" | awk '{print $NF}')
TARGETS=$(find /lib/systemd/ /etc/systemd/ -name ctrl-alt-del.target -exec ls {} \;| grep -v "/dev/null" | awk '{print $NF}')
for TARGET in $TARGETS
do
warn "Disable $TARGET"

View File

@ -150,7 +150,6 @@ add_line_file_after_pattern() {
}
replace_in_file() {
set -x
local FILE=$1
local SOURCE=$2
local DESTINATION=$3