28 Jun
2024
28 Jun
'24
8:42 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37038 --- Comment #8 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- 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.