diff options
| author | JopStro <[email protected]> | 2021-02-02 11:33:04 +0000 |
|---|---|---|
| committer | JopStro <[email protected]> | 2021-02-02 11:33:04 +0000 |
| commit | 149d722639644d2c2f24e1b301189c7b28b72148 (patch) | |
| tree | 5f828abfc320d2f857bc2254ab60b1ae83a9cd68 | |
| parent | e777d168519b10a3e19e9207c51a0b2de37dc739 (diff) | |
Fix test command in check_swallowing_process
| -rwxr-xr-x | bspswallow | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ get_ppid() { } check_swallowing_process() { - [ -n $(get_pid $1) ] || return 0 + [ -z $(get_pid $1) ] && return 0 [ "$(get_ppid "$(get_ppid "$(get_pid "$1")")")" = "$(get_pid "$2")" ] && return 0 || return 1 } |
