diff options
author | Shaoyong Wang <shaoyongx.wang@intel.com> | 2013-02-07 10:04:11 -0500 |
---|---|---|
committer | Chen, Gong <gong.chen@linux.intel.com> | 2015-01-21 21:24:00 -0500 |
commit | d34bd323ca35c2c6ca4c68cedcf4e8010955c3f5 (patch) | |
tree | 7f0b1bbc29241ffabaf008ea058a2d63ad04b887 | |
parent | ddf1ee787c9c36e543de648e5eb49e33d8de6607 (diff) | |
download | mce-test-d34bd323ca35c2c6ca4c68cedcf4e8010955c3f5.tar.gz |
Fix "too many arguments" issue in mcemenu
The lack of double quotation leads to a grammar mistake.
Signed-off-by: Shaoyong Wang <shaoyongx.wang@intel.com>
Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
-rwxr-xr-x | mcemenu | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -185,8 +185,8 @@ disp_result() RC=0 local RESULTS_LIST=$(for i in `ls -1 -A -I ".git*" -B $SUM_DIR`;\ do echo -n "$i [more...] "; done) - if ! [ -z $RESULTS_LIST ] ;then - while [ $RC -ne "1" ] + if ! [ -z "$RESULTS_LIST" ]; then + while [ $RC -ne "1" ] do dialog --clear dialog --backtitle "$BACKTITLE" \ |