summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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