diff --git a/do-rebase b/do-rebase index 032d7f9..ec68118 100755 --- a/do-rebase +++ b/do-rebase @@ -13,7 +13,7 @@ alias formatpatch="othergit format-patch $format_patch_ops" usage() { retcode=0 - if [ -n "$1" ]; then + if [ -n "${1:-}" ]; then exec 1>&2 retcode=$1 fi