diff options
-rwxr-xr-x | util/fluxbox-generate_menu.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in index ee36457..fe1af2f 100755 --- a/util/fluxbox-generate_menu.in +++ b/util/fluxbox-generate_menu.in | |||
@@ -518,7 +518,7 @@ rm -f ${MENUFILENAME}.tmp | |||
518 | touch ${MENUFILENAME}.tmp | 518 | touch ${MENUFILENAME}.tmp |
519 | counter=10 # prevent looping in odd circumstances | 519 | counter=10 # prevent looping in odd circumstances |
520 | until [ $counter -lt 1 ] || \ | 520 | until [ $counter -lt 1 ] || \ |
521 | cmp ${MENUFILENAME} ${MENUFILENAME}.tmp 2>&1 > /dev/null; do | 521 | cmp ${MENUFILENAME} ${MENUFILENAME}.tmp >/dev/null 2>&1; do |
522 | [ -s ${MENUFILENAME}.tmp ] && mv ${MENUFILENAME}.tmp ${MENUFILENAME} | 522 | [ -s ${MENUFILENAME}.tmp ] && mv ${MENUFILENAME}.tmp ${MENUFILENAME} |
523 | counter=`expr $counter - 1` | 523 | counter=`expr $counter - 1` |
524 | grep -v '^$' ${MENUFILENAME}|sed -e "/^\[submenu].*/{ | 524 | grep -v '^$' ${MENUFILENAME}|sed -e "/^\[submenu].*/{ |