diff options
author | Jeff Lane <jeffrey.lane@canonical.com> | 2019-04-22 12:20:52 -0400 |
---|---|---|
committer | Jeff Lane <jeffrey.lane@canonical.com> | 2019-04-22 12:20:52 -0400 |
commit | d6672bb320258531b550c589afffc741e1a822b7 (patch) | |
tree | d023702fcb3939a0761f2b0aaa21ee1c08c19b7a /bin | |
parent | f7bca7ad57487d9d376329876562d32a44a17a94 (diff) |
bin/maas-version-check: add a little extra output on failure, updated copyright. lp: #1825862
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/maas-version-check | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/maas-version-check b/bin/maas-version-check index 412717d3..678088af 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 |