forked from p34709852/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) {
|
||||
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()
|
||||
|
|
Loading…
Reference in New Issue