minor change

This commit is contained in:
tomas 2005-02-13 00:21:52 +00:00
parent 534be5b5ff
commit 045074ef72
1 changed files with 9 additions and 6 deletions

View File

@ -23,7 +23,7 @@
# #
# #
# Author : $Author: tomas $ # Author : $Author: tomas $
# Version : $Revision: 1.22 $ # Version : $Revision: 1.23 $
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/testRunner.sh,v $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/testRunner.sh,v $
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
@ -252,14 +252,17 @@ editPlaylist() {
existsPlaylist() { existsPlaylist() {
echo -n "# existsPlaylist (${PLID}): " echo -n "# existsPlaylist (${PLID}): "
$XR_CLI existsPlaylist $SESSID $PLID || exit $? EXISTS=`$XR_CLI existsPlaylist $SESSID $PLID` || \
{ ERN=$?; echo $EXISTS; exit $ERN; }
echo $EXISTS
} }
deletePlaylist() { deletePlaylist() {
echo -n "# deletePlaylist (${PLID}): " if [ "$EXISTS" != "FALSE" ]; then
$XR_CLI deletePlaylist $SESSID $PLID echo -n "# deletePlaylist (${PLID}): "
# || exit $? $XR_CLI deletePlaylist $SESSID $PLID || exit $?
echo "# status: $?" echo "# status: $?"
fi
} }
prefTest() { prefTest() {