diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-10-18 11:38:35 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-10-18 11:38:35 +0000 |
commit | bd178b670746dc6781f4dbc84906f1f0557e78f3 (patch) | |
tree | 3c9755cb2494c3a50fd158eb847ab223ec573d9f | |
parent | Bail if user specifies an invalid global option instead of just ignoring it. (diff) | |
download | eselect-bd178b670746dc6781f4dbc84906f1f0557e78f3.tar.gz eselect-bd178b670746dc6781f4dbc84906f1f0557e78f3.tar.bz2 eselect-bd178b670746dc6781f4dbc84906f1f0557e78f3.zip |
Added missing space after the '1' in '[[ 0 -gt 1]]' which caused an unexpected EOF in do_restrt().
svn path=/trunk/; revision=225
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | modules/rc.eselect | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ ChangeLog for eselect +2005-10-18 Aaron Walker <ka0ttic@gentoo.org> + + * modules/rc.eselect: Added missing space after the '1' in + "[[ ${#@} -gt 1]]" which caused an unexpected EOF in do_restart(). + 2005-10-17 Aaron Walker <ka0ttic@gentoo.org> * configure.ac: Update version to 1.0_rc1 for pending release. diff --git a/modules/rc.eselect b/modules/rc.eselect index 1a4570e..05b960f 100644 --- a/modules/rc.eselect +++ b/modules/rc.eselect @@ -279,7 +279,7 @@ describe_restart_options() { do_restart() { [[ ${#@} -gt 0 ]] \ || die -q "Please specify the init script to be restarted!" - run_runscript restart "Restarting init script$([[ ${#@} -gt 1]] && echo -ne 's')" ${@} + run_runscript restart "Restarting init script$([[ ${#@} -gt 1 ]] && echo -ne 's')" ${@} } # vim: set ft=eselect : |