From ae9e5c3be54c6e5e29b74362fed59611c3377bfd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 5 Jun 2014 10:24:49 +0200 Subject: [PATCH] autodist: return error code when package to be imported does not exist any longer --- autodist-repository | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autodist-repository b/autodist-repository index e3c2a80..5f9ff29 100755 --- a/autodist-repository +++ b/autodist-repository @@ -554,7 +554,8 @@ function import_package() { } # ans = y else # check_existence != 1 - echo "WARNING: $import_pkg reported by distromatic does no longer exist" >&2 + echo "ERROR: $import_pkg reported by distromatic does no longer exist" >&2 + return 255 fi }