]> git.decadent.org.uk Git - dak.git/blobdiff - dak/process_unchecked.py
p-u
[dak.git] / dak / process_unchecked.py
index 5fce9fa98b9a403e02908ac4c85b2deb0f6af885..87c11d49fe193a0aa96da89cf41c9cb88b4995af 100755 (executable)
@@ -1585,7 +1585,10 @@ def main():
             changes_files.remove(f)
 
     if changes_files == []:
-        utils.fubar("Need at least one .changes file as an argument.")
+        if Cnf["Dinstall::Options::Directory"] == "":
+            utils.fubar("Need at least one .changes file as an argument.")
+        else:
+            sys.exit(0)
 
     # Check that we aren't going to clash with the daily cron job