Title: [opsview] [10252] Cope with bourne shell on Solaris
- Revision
- 10252
- Author
- dferguson
- Date
- 2012-10-02 14:33:36 +0100 (Tue, 02 Oct 2012)
Log Message
Cope with bourne shell on Solaris
Modified Paths
Modified: trunk/opsview-core/bin/rc.opsview-agent
===================================================================
--- trunk/opsview-core/bin/rc.opsview-agent 2012-10-02 12:55:11 UTC (rev 10251)
+++ trunk/opsview-core/bin/rc.opsview-agent 2012-10-02 13:33:36 UTC (rev 10252)
@@ -111,7 +111,7 @@
# processes than expected due to all the zones so don't do any
# more on Solaris systems to be on safe side
uname -s | grep SunOS 1>/dev/null
- if [ $? == 0 ]; then
+ if [ $? = 0 ]; then
return
fi
_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins