From b1360126e3730f01b3c1cb7ac0362e3679c28a67 Mon Sep 17 00:00:00 2001 From: "Ramón M. Gómez" Date: Wed, 10 Oct 2018 14:02:43 +0200 Subject: #850: Correct an error. --- repoman/bin/checkrepo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repoman') diff --git a/repoman/bin/checkrepo b/repoman/bin/checkrepo index 3a7448a2..5b50dcda 100755 --- a/repoman/bin/checkrepo +++ b/repoman/bin/checkrepo @@ -98,7 +98,7 @@ EOT # Create new JSON file. if [ -z "$OUNAME" ]; then cat << EOT | jq . > $INFOFILE -{"directory":"$IMAGESDIR","images":[${IMAGENAME+$JSON}],"ous":[]} +{"directory":"$IMAGESDIR","images":[${IMAGENAME:+$JSON}],"ous":[]} EOT else cat << EOT | jq . > $INFOFILE -- cgit v1.2.3-18-g5258