From 1639605306c51b6735a4d9b1bba6b8c9da9d2a9c Mon Sep 17 00:00:00 2001 From: Paradigm0001 <46477191+Paradigm0001@users.noreply.github.com> Date: Wed, 1 Apr 2020 04:50:03 +0000 Subject: [PATCH] Update inverter.sh Error verbose for lack of X Display variable now uses stderr function --- dbus-examples/inverter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus-examples/inverter.sh b/dbus-examples/inverter.sh index abe6e136..e13cb2da 100755 --- a/dbus-examples/inverter.sh +++ b/dbus-examples/inverter.sh @@ -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