summaryrefslogtreecommitdiffstats
path: root/crtSignedContainer.sh
diff options
context:
space:
mode:
authorDave Heller <hellerda@us.ibm.com>2017-10-07 01:46:42 -0400
committerDave Heller <hellerda@us.ibm.com>2017-10-07 01:46:42 -0400
commit67f901dbeec3363ab678b15f63f8aa6a33eef547 (patch)
tree90335e3c1c7e287600eb800976452b2011eb2c99 /crtSignedContainer.sh
parent2df9bf9d1c51ccf9f5b08afaaa9be8c7c76d53a4 (diff)
downloadsb-signing-utils-67f901dbeec3363ab678b15f63f8aa6a33eef547.tar.gz
sb-signing-utils-67f901dbeec3363ab678b15f63f8aa6a33eef547.zip
Fixup previous commit
Signed-off-by: Dave Heller <hellerda@us.ibm.com>
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