Skip to content

Commit

Permalink
scripts/update-systemd-from-27-to-238.sh: Redirect stderr to /dev/null
Browse files Browse the repository at this point in the history
  • Loading branch information
pmenzel committed Mar 29, 2018
1 parent 43ce11e commit 3739c01
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

1 comment on commit 3739c01

@donald
Copy link
Collaborator

@donald donald commented on 3739c01 Mar 29, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mist. Dass ich den nicht gesehen habe :-)

Please sign in to comment.