mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-6285: Fix savepassword.sh script for clear out old entries
This commit is contained in:
parent
93a2340516
commit
cd79306021
@ -52,7 +52,7 @@ done
|
|||||||
|
|
||||||
[ -f $PASSWD_FILE ] || touch $PASSWD_FILE
|
[ -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
|
ps aux | grep serve_password.sh |grep -v grep 2>&1 > /dev/null
|
||||||
if [ $? -eq 0 ]
|
if [ $? -eq 0 ]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user