summaryrefslogtreecommitdiff
path: root/optcvt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'optcvt.sh')
-rwxr-xr-xoptcvt.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/optcvt.sh b/optcvt.sh
index 2f3f89c..b73c095 100755
--- a/optcvt.sh
+++ b/optcvt.sh
@@ -8,6 +8,8 @@ COLUMNS="${SIZE#* }"
if test "$COLUMNS" -ge $((2*$MINWIDTH+1)); then
exec $TCVT "$@"
+elif test -z "$@"; then
+ exec "$SHELL"
else
exec "$@"
fi