aboutsummaryrefslogtreecommitdiffstats
path: root/osurl
diff options
context:
space:
mode:
Diffstat (limited to 'osurl')
-rwxr-xr-xosurl2
1 files changed, 1 insertions, 1 deletions
diff --git a/osurl b/osurl
index 7a96400..4775783 100755
--- a/osurl
+++ b/osurl
@@ -3,7 +3,7 @@
# https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Current_set_of_abbreviations
set -eu
-if [ $# -le 1 ] ; then
+if [ $# -lt 1 ] ; then
STR="$(cat)"
else
STR="$1"