Skip to content

Commit

Permalink
Update inverter.sh
Browse files Browse the repository at this point in the history
Error verbose for lack of X Display variable now uses stderr function
  • Loading branch information
UnixParadigm authored Apr 1, 2020
1 parent 7f52a4a commit 1639605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbus-examples/inverter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SED="${SED:-$(command -v gsed || printf 'sed')}"
dpy=$(printf "$DISPLAY" | tr -c '[:alnum:]' _)

if [ -z "$dpy" ]; then
echo "Cannot find display."
stderr "Cannot find display."
exit 1
fi

Expand Down

0 comments on commit 1639605

Please sign in to comment.