Skip to content

Commit 1639605

Browse files
authored
Update inverter.sh
Error verbose for lack of X Display variable now uses stderr function
1 parent 7f52a4a commit 1639605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbus-examples/inverter.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ SED="${SED:-$(command -v gsed || printf 'sed')}"
2929
dpy=$(printf "$DISPLAY" | tr -c '[:alnum:]' _)
3030

3131
if [ -z "$dpy" ]; then
32-
echo "Cannot find display."
32+
stderr "Cannot find display."
3333
exit 1
3434
fi
3535

0 commit comments

Comments
 (0)