Added "is monkey already running" check for linux machine.

This commit is contained in:
VakarisZ 2020-09-24 17:14:07 +03:00
parent 9f74d9abef
commit 5fefe654f3
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class IslandMonkeyRunErrorModal extends React.PureComponent {
}
getDisplayContentByError(errorMsg) {
if (errorMsg.includes('Permission denied:')) {
if (errorMsg.includes('Permission denied:') || errorMsg.includes('Text file busy')) {
return this.getMonkeyAlreadyRunningContent()
} else if (errorMsg.startsWith('Copy file failed')) {
return this.getMissingBinariesContent()