From 0023b1b49569aaab064c5caf315f2249adb8deee Mon Sep 17 00:00:00 2001 From: TomasM Date: Sat, 11 Nov 2017 09:21:37 -0500 Subject: [PATCH] Ignore empty commands --- Slax/debian/modules/03-desktop/rootcopy/usr/bin/fbappselect | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Slax/debian/modules/03-desktop/rootcopy/usr/bin/fbappselect b/Slax/debian/modules/03-desktop/rootcopy/usr/bin/fbappselect index 0a1627f..e4615d3 100755 --- a/Slax/debian/modules/03-desktop/rootcopy/usr/bin/fbappselect +++ b/Slax/debian/modules/03-desktop/rootcopy/usr/bin/fbappselect @@ -7,6 +7,10 @@ exec xlunch --input /etc/xlunch/entries.dsv \ --highlight /usr/share/icons/hicolor/128x128/apps/xlunch_highlight.png \ --outputonly | while read LINE; do + if [ "$LINE" = "" ]; then + continue + fi + fbstartupnotify cmd="$(echo $LINE | sed -r "s/\\s.*//")"