summaryrefslogtreecommitdiffstats
path: root/crtSignedContainer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'crtSignedContainer.sh')
-rwxr-xr-xcrtSignedContainer.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/crtSignedContainer.sh b/crtSignedContainer.sh
index 24bdf39..ea92022 100755
--- a/crtSignedContainer.sh
+++ b/crtSignedContainer.sh
@@ -316,11 +316,10 @@ test -z "$OUTPUT" && die "Destination imagefile required"
if [ "$PAYLOAD" == __none ]; then
PAYLOAD=/dev/zero
-elif [ ! -f "$PAYLOAD"]; then
+elif [ ! -f "$PAYLOAD" ]; then
die "Can't open payload file: $PAYLOAD"
fi
-
if [ "$SIGN_MODE" == "production" ]
then
test -z "$SF_USER" && die "Production mode selected but no signer userid provided"
OpenPOWER on IntegriCloud