aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrepoctl1
1 files changed, 1 insertions, 0 deletions
diff --git a/repoctl b/repoctl
index cea6ebb..75c7eb8 100755
--- a/repoctl
+++ b/repoctl
@@ -242,6 +242,7 @@ function repolock()
if [ -z "$srcrepo" ]
then
usage_cmd repolock
+ exit 1
fi
$command "${srcrepo[0]}" "${srcrepo[1]}" "${srcrepo[2]}"
}