@@ -17,7 +17,7 @@ echo "#Dummy" >> /etc/rc.d/init.d/functions
source /etc/init.d/web-registry-portal status
echo "CMD is $@"
-if [ ! -z "$@" ]
+if [ ! -z "$*" ]
then
exec "$@"
else