mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
bug #1922: stop novnc when sunstone does not start
This commit is contained in:
1 parent
d30b0f1bd1
commit
439dc21513
1 file changed
+2
@@ -82,6 +82,7 @@ start()
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error executing sunstone-server."
|
||||
echo "Check $SUNSTONE_LOG_ERROR and $SUNSTONE_LOG for more information"
|
||||
$NOVNC_SERVER stop
|
||||
exit 1
|
||||
else
|
||||
echo $LASTPID > $SUNSTONE_PID
|
||||
@@ -93,6 +94,7 @@ start()
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error executing sunstone-server."
|
||||
echo "Check $SUNSTONE_LOG_ERROR and $SUNSTONE_LOG for more information"
|
||||
$NOVNC_SERVER stop
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user