aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ak-enter1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ak-enter b/bin/ak-enter
index c43b891..33cc788 100755
--- a/bin/ak-enter
+++ b/bin/ak-enter
@@ -155,6 +155,7 @@ do
if [ "$?" -ne 0 ]
then
logit "[ERROR]" "ZBLOCK $zblock is not JSON"
+ cat /dev/null > $AK_ZBLOCKDIR/$zblock > /dev/null 2>&1
exit 1
fi
logit "[INFO]" "ZBLOCK $zblock is JSON"