awesome-client: do not send empty requests

This commit is contained in:
Daniel Hahler 2015-07-25 23:33:40 +02:00
parent 410a6e5bb2
commit 7b233f3d37
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@ if [ "$ISATTY" = 0 ]
then then
while $READ_CMD -p "awesome# " -r line while $READ_CMD -p "awesome# " -r line
do do
if [ "$line" = "" ]; then
continue
fi
a_dbus_send "$line" a_dbus_send "$line"
done done
else else