commit 25219b787c07050ed1de59a9925ae4380413f5d1 parent e278d9d3d49f6fc4c0b925907dd26c2c386aa0b9 Author: Sami Kankaristo <sami@kankaristo.fi> Date: Sat, 19 Dec 2020 18:22:30 +0200 Use default value instead of testing for empty value Diffstat:
M | clipmenu | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clipmenu b/clipmenu @@ -71,4 +71,4 @@ if (( CM_OUTPUT_CLIP )); then cat "$file" fi -[ -n "$launcher_exit" ] && exit "$launcher_exit" +exit "${launcher_exit:-"$?"}"