https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37038

--- Comment #8 from Marcel de Rooy <[email protected]> ---
A simple workaround might be:

clo_processes=aa; if [ "${clo_processes}" -gt 0 ] 2>/dev/null; then echo true;
fi
for bin/sh
We just oppress the warn. The condition is false as expected.

And for bin/bash this would just work:
clo_processes=aa; if [[ "${clo_processes}" -gt 0 ]]; then echo true; fi
But this script is marked bin/sh
Which actually is confusing when you git grep bash in that folder.. But not for
here.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to