summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2022-11-30 12:10:06 +0200
committerIgor Pashev <pashev.igor@gmail.com>2022-11-30 12:10:06 +0200
commit8ee53fb45b407a2035d33895bcc5c4b44b0b70e9 (patch)
tree75ad6e8fa6521b12dcd00583f27a5cebd95d624a
parente8ef97ac2d129d5132cd3ff5240306487bfb2a51 (diff)
downloadgcd-8ee53fb45b407a2035d33895bcc5c4b44b0b70e9.tar.gz
Update shell
-rwxr-xr-xgcd.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcd.sh b/gcd.sh
index 9548b1d..b956286 100755
--- a/gcd.sh
+++ b/gcd.sh
@@ -16,5 +16,7 @@ gcdn() {
echo $r
}
-gcdn $*
+if test $# -gt 0 ; then
+ gcdn $*
+fi