Skip to content

Commit

Permalink
Merge pull request #698 from mariux64/also-redirect-stderr-in-systemd…
Browse files Browse the repository at this point in the history
…-update-script

Redirect stderr to `/dev/null` in systemd update script
  • Loading branch information
donald authored Mar 29, 2018
2 parents 43ce11e + 3739c01 commit 50dffa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-systemd-from-27-to-238.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if ! { hostconfig mx64; }; then
exit 1
fi

if { systemd --version 2>&1 1>/dev/null; }; then
if { systemd --version > /dev/null 2>&1; }; then
echo "systemd 238 is already running. Nothing to do."
exit 0
fi
Expand Down

0 comments on commit 50dffa1

Please sign in to comment.