forked from p15670423/monkey
Added "is monkey already running" check for linux machine.
This commit is contained in:
parent
9f74d9abef
commit
5fefe654f3
|
@ -53,7 +53,7 @@ class IslandMonkeyRunErrorModal extends React.PureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
getDisplayContentByError(errorMsg) {
|
getDisplayContentByError(errorMsg) {
|
||||||
if (errorMsg.includes('Permission denied:')) {
|
if (errorMsg.includes('Permission denied:') || errorMsg.includes('Text file busy')) {
|
||||||
return this.getMonkeyAlreadyRunningContent()
|
return this.getMonkeyAlreadyRunningContent()
|
||||||
} else if (errorMsg.startsWith('Copy file failed')) {
|
} else if (errorMsg.startsWith('Copy file failed')) {
|
||||||
return this.getMissingBinariesContent()
|
return this.getMissingBinariesContent()
|
||||||
|
|
Loading…
Reference in New Issue