From 641d3710bacf96e30c30b518a505d093020812c7 Mon Sep 17 00:00:00 2001 From: Michael Imhof Date: Sun, 12 Jan 2003 21:59:48 +0000 Subject: just another typo... --- app-sci/zetagrid/files/zetagrid.init | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'app-sci/zetagrid') diff --git a/app-sci/zetagrid/files/zetagrid.init b/app-sci/zetagrid/files/zetagrid.init index 9535f723aa8f..2f174ac1070a 100644 --- a/app-sci/zetagrid/files/zetagrid.init +++ b/app-sci/zetagrid/files/zetagrid.init @@ -12,13 +12,12 @@ start() { stop() { ebegin "Stopping zetagrid" - kill ps ax | grep java | grep ZetaClient | sed -e -'s/^\(.\{5\}\).*$/\1/' | tail -1 eend $? "Failed to stop zetagrid" + kill `ps ax | grep java | grep ZetaClient | sed -e 's/^\(.\{5\}\).*$/\1/' | tail -1` + eend $? "Failed to stop zetagrid" } progress() { - if [ ps ax | grep java | grep ZetaClient | sed -e -'s/^\(.\{5\}\).*$/\1/' | tail -1 ] + if [ 'ps ax | grep java | grep ZetaClient | sed -e 's/^\(.\{5\}\).*$/\1/' | tail -1' ] then ebegin "Showing zetagrid progress (Cancel with ^C) " cd ${ZETADIR} -- cgit v1.2.3-65-gdbad