Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 135164 Details for
Bug 263712
ACStart.sh incorrectly reports ACServer started successfully
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch for bug 263712
bugzilla263712.txt (text/plain), 1.82 KB, created by
Sean Lamers
on 2009-05-11 12:08:09 EDT
(
hide
)
Description:
patch for bug 263712
Filename:
MIME Type:
Creator:
Sean Lamers
Created:
2009-05-11 12:08:09 EDT
Size:
1.82 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.platform.agentcontroller >Index: src-native-new/bin/ACStart.sh >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/bin/ACStart.sh,v >retrieving revision 1.9 >diff -u -r1.9 ACStart.sh >--- src-native-new/bin/ACStart.sh 8 May 2009 16:58:17 -0000 1.9 >+++ src-native-new/bin/ACStart.sh 11 May 2009 16:04:35 -0000 >@@ -72,13 +72,11 @@ > # > # Check if ACServer is running by querying the system process list > # >-ps -ae | grep "ACServer" | wc -l | awk '{ >- if( $1 -ne 0 ) { >- print "ACServer started successfully." >- exit 0 >- } >- else { >- print "ACServer failed to start." >- exit 1 >- } >-}' >+RUNNING=`ps -ae | grep "ACServer" | wc -l` >+if [ $RUNNING -ne 0 ];then >+ echo "ACServer started successfully." >+ exit 0 >+else >+ echo "ACServer failed to start." >+ exit 1 >+fi >Index: src-native-new/bin/ACStop.sh >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.agentcontroller/src-native-new/bin/ACStop.sh,v >retrieving revision 1.9 >diff -u -r1.9 ACStop.sh >--- src-native-new/bin/ACStop.sh 8 May 2009 16:58:18 -0000 1.9 >+++ src-native-new/bin/ACStop.sh 11 May 2009 16:04:35 -0000 >@@ -37,9 +37,16 @@ > RUNNING=`ps -ae | grep "ACServer" | wc -l` > if [ $RUNNING -ne 0 ];then > ACServer -shutdown "$@" >- echo "ACServer stopped." >- exit 0 >+ sleep 2 >+ RUNNING=`ps -ae | grep "ACServer" | wc -l` >+ if [ $RUNNING -ne 0 ];then >+ echo "ACServer failed to shutdown." >+ exit 1 >+ else >+ echo "ACServer stopped." >+ exit 0 >+ fi > else >- echo "ACServer is not currently running." >- exit 0 >+ echo "ACServer is not currently running." >+ exit 0 > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
slamers
:
review?
Actions:
View
|
Diff
Attachments on
bug 263712
: 135164