Require an argument to exec
authorStuart Prescott <stuart+debian@nanonanonano.net>
Thu, 13 Oct 2011 13:34:09 +0000 (14:34 +0100)
committerStuart Prescott <stuart+debian@nanonanonano.net>
Thu, 13 Oct 2011 13:34:09 +0000 (14:34 +0100)
movein

diff --git a/movein b/movein
index d2013da..47c01fc 100755 (executable)
--- a/movein
+++ b/movein
@@ -151,7 +151,7 @@ login() {
 
 execin() {
     local REPO
-    if [ $# -lt 1 ]; then
+    if [ $# -lt 2 ]; then
        usage
     fi