[geany/geany] 7819cd: Make the search.c exit status checks platform independent