diff --git a/main/manager.c b/main/manager.c index 9761629ef3c67d244b8c97378f0cef986e818933..9c9c5aa84e25378a163267e3ee3109d66a7b1665 100644 --- a/main/manager.c +++ b/main/manager.c @@ -3893,7 +3893,7 @@ static int action_originate(struct mansession *s, const struct message *m) /* To run the System application (or anything else that goes to shell), you must have the additional System privilege */ if (!(s->session->writeperm & EVENT_FLAG_SYSTEM) && ( - strcasestr(app, "system") == 0 || /* System(rm -rf /) + strcasestr(app, "system") || /* System(rm -rf /) TrySystem(rm -rf /) */ strcasestr(app, "exec") || /* Exec(System(rm -rf /)) TryExec(System(rm -rf /)) */