@@ -32,7 +32,7 @@ pre-start script
32 # Remove the socket if still there
32 # Remove the socket if still there
33 if [ -n "$UNITY_MIR_SOCKET" -a -S "$UNITY_MIR_SOCKET" ]; then
33 if [ -n "$UNITY_MIR_SOCKET" -a -S "$UNITY_MIR_SOCKET" ]; then
34 rm "$UNITY_MIR_SOCKET"
34 rm "$UNITY_MIR_SOCKET"
35− elif [ -S "$DEFAULT_MIR_SOCKET" ]; then
35+ elif [ -z "$UNITY_MIR_SOCKET" -a -S "$DEFAULT_MIR_SOCKET" ]; then
36 rm "$DEFAULT_MIR_SOCKET"
36 rm "$DEFAULT_MIR_SOCKET"