Ignore empty commands

pull/40/head
TomasM 2017-11-11 09:21:37 -05:00
parent d922695c6f
commit 0023b1b495
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,10 @@ exec xlunch --input /etc/xlunch/entries.dsv \
--highlight /usr/share/icons/hicolor/128x128/apps/xlunch_highlight.png \ --highlight /usr/share/icons/hicolor/128x128/apps/xlunch_highlight.png \
--outputonly | while read LINE; do --outputonly | while read LINE; do
if [ "$LINE" = "" ]; then
continue
fi
fbstartupnotify fbstartupnotify
cmd="$(echo $LINE | sed -r "s/\\s.*//")" cmd="$(echo $LINE | sed -r "s/\\s.*//")"