Skip to content

Commit

Permalink
Merge pull request #140 from glitsj16/apt-pinvoke
Browse files Browse the repository at this point in the history
Fix apt-pinvoke [: missing ]
  • Loading branch information
liske authored Jan 31, 2019
2 parents c7a17d4 + 9e3307c commit 72a4143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ex/apt/apt-pinvoke
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if [ -e "$RUNDIR/unpacked" ]; then
string:org.freedesktop.login1.Manager \
string:PreparingForShutdown 2> /dev/null)

if [ "$sd" != "${sd% true}"]; then
if [ "$sd" != "${sd% true}" ]; then
echo "skipping needrestart since system is preparing for shutdown"
exit 0
fi
Expand Down

0 comments on commit 72a4143

Please sign in to comment.