commit 9beee45de8c6f5fb5c1d6958fde984151361826e
parent 4b95fb275237da6bdfda93121364feb961508256
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 6 Jul 2020 13:29:04 +0200
Return exit status from subprocesses
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.local/bin/search b/.local/bin/search
@@ -32,6 +32,7 @@ if command -v "$(printf '%s' "$c" | sed 's/ .*//')" >/dev/null 2>&1; then
if [ -n "$out" ]; then
notify "\$ $c" "$out"
fi
+ exit $?
fi
if regeximatch "$c" '^gopher://' || \