#!/bin/sh

snapctl set configure-marker="executed-for-v2"

command=$(snapctl get fail-configure)
if [ "x$command" = "xyes" ]; then
    echo "failing configure hook as requested"
    exit 1
fi
