@@ -30,10 +30,8 @@ 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 [ -S "$MIR_SERVER_FILE" ]; then
34− rm "$UNITY_MIR_SOCKET"
34+ rm "$MIR_SERVER_FILE"
35− elif [ -z "$UNITY_MIR_SOCKET" -a -S "$DEFAULT_MIR_SOCKET" ]; then
36− rm "$DEFAULT_MIR_SOCKET"