summaryrefslogtreecommitdiff
path: root/bin/maas-version-check
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2019-05-09 14:37:19 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2019-05-09 14:37:19 +0200
commit0ea5ae58375181992cbca691dc9bb35db71a6e67 (patch)
tree81f8c4f6dba05c7328eb550080626f13b1b0fcc7 /bin/maas-version-check
parent701d01192d9bf510e77d97dfdf373fb36edb065f (diff)
Import plainbox-provider-checkbox_0.48.0~rc1.orig.tar.gzupstream-0.48.0_rc1patched-0.48.0_rc1-1
Diffstat (limited to 'bin/maas-version-check')
-rwxr-xr-xbin/maas-version-check3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/maas-version-check b/bin/maas-version-check
index 412717d..678088a 100755
--- a/bin/maas-version-check
+++ b/bin/maas-version-check
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright (C) 2012-2015 Canonical Ltd.
+# Copyright (C) 2012-2019 Canonical Ltd.
# Authors
# Jeff Lane <jeff@ubuntu.com>
@@ -26,6 +26,7 @@ if [ -s $MAAS_FILE ]; then
echo $maas_version
else
echo "ERROR: This system does not appear to have been installed by MAAS"
+ echo "ERROR: " $(ls -l $MAAS_FILE 2>&1)
exit 1
fi