summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-07-14 00:11:22 +0200
committerHolger Levsen <holger@layer-acht.org>2016-07-14 00:11:22 +0200
commit689c64d7d1017f88fa4dad8a593b8c4bbc03994b (patch)
tree4db6df52a2b8318066d46b88e77fc2e0db2112b2
parent2911ddf0be34bb2c5a322706424404ad38019810 (diff)
downloadjenkins.debian.net-689c64d7d1017f88fa4dad8a593b8c4bbc03994b.tar.xz
explain how to use $UP2DATE
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 286bad9a..f375e2e3 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -567,7 +567,7 @@ if [ "$HOSTNAME" = "jenkins" ] ; then
figlet -f banner Error
explain "you must set \$PVNAME to physical volume pathname, exiting."
exit 1
- else
+ elif ! $UP2DATE ; then
if ! sudo pvs $PVNAME >/dev/null 2>&1; then
sudo pvcreate $PVNAME
fi