Skip to content

Commit

Permalink
(files/poweroff) remove quoting that breaks the script
Browse files Browse the repository at this point in the history
  • Loading branch information
glennmorris committed Jun 11, 2024
1 parent 470180c commit 200417b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion files/poweroff
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ else
[ "$(id -un)" = $sudo_user ] || prefix="sudo -u $sudo_user"
fi

"$prefix" "$prefix2" /usr/bin/systemctl "$task"
## Do not quote prefix, prefix2.
$prefix $prefix2 /usr/bin/systemctl "$task"

0 comments on commit 200417b

Please sign in to comment.