| 627 | } |
| 628 | |
| 629 | bool shell_like_comm(const std::string& comm) { |
| 630 | auto l = lower_copy(comm); |
| 631 | return l == "bash" || l == "zsh" || l == "fish" || l == "sh" || |
| 632 | l == "dash" || l == "ksh" || l == "tcsh" || l == "csh"; |
| 633 | } |
| 634 | |
| 635 | bool admin_or_dump_comm(const std::string& comm) { |
| 636 | auto l = lower_copy(comm); |
no test coverage detected