positive return
This commit is contained in:
1 parent
5c42584931
commit
81e0677015
1 file changed
+1
@@ -2,4 +2,5 @@ function g_kill_all_background_jobs {
|
||||
local g_pids
|
||||
readarray g_pids < <(jobs -p)
|
||||
[ -n "${g_pids[0]}" ] && kill -9 ${g_pids[*]} >/dev/null 2>&1
|
||||
return 0
|
||||
}
|
||||
Reference in new issue
Block a user