[Pkg-mono-svn-commits] rev 433 - xsp-snapshot/trunk/debian/official
Pablo Fischer
pabl0-guest@haydn.debian.org
Mon, 15 Mar 2004 20:35:46 -0700
Author: pabl0-guest
Date: 2004-03-15 20:35:43 -0700 (Mon, 15 Mar 2004)
New Revision: 433
Modified:
xsp-snapshot/trunk/debian/official/asp.net-examples.prerm
Log:
* asp.net-examples.prerm
+ Fixed an issue of an if, I should use "$var" not $var, "$var" is for
matched and unmatched cases (=, !=).
Modified: xsp-snapshot/trunk/debian/official/asp.net-examples.prerm
===================================================================
--- xsp-snapshot/trunk/debian/official/asp.net-examples.prerm 2004-03-16 02:50:59 UTC (rev 432)
+++ xsp-snapshot/trunk/debian/official/asp.net-examples.prerm 2004-03-16 03:35:43 UTC (rev 433)
@@ -10,7 +10,7 @@
xsp_pid=`cat /var/run/mono-xsp`
xsp_ps=`ps -p $xsp_pid | wc -l`
# Are there any process running by that pid?
- if [ $xsp_ps != "1" ]; then
+ if [ "$xsp_ps" != "1" ]; then
/etc/init.d/mono-xsp restart
fi
fi
@@ -23,7 +23,7 @@
monoserver_pid=`cat /var/run/mono-server`
monoserver_ps=`ps -p $monoserver_pid | wc -l`
# Are there any process running by that pid?
- if [ $xsp_ps != "1" ]; then
+ if [ "$xsp_ps" != "1" ]; then
/etc/init.d/mono-server restart
fi
fi