CLOUDSTACK-6285: Fix savepassword.sh script for clear out old entries

This commit is contained in:
Sheng Yang 2014-03-25 15:55:41 -07:00
parent d417ce0d70
commit a6e33143c2
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ done
[ -f $PASSWD_FILE ] || touch $PASSWD_FILE
sed -i /$VM_IP/d $PASSWD_FILE
sed -i /$VM_IP=/d $PASSWD_FILE
ps aux | grep serve_password.sh |grep -v grep 2>&1 > /dev/null
if [ $? -eq 0 ]