diff --git a/snap/hooks/configure b/snap/hooks/configure index 714d025..e1662e3 100755 --- a/snap/hooks/configure +++ b/snap/hooks/configure @@ -7,5 +7,5 @@ duration="$(snapctl get duration)" if ! expr "$duration" : '^[0-9]*$' > /dev/null; then echo "\"$duration\" is not a valid duration, reveting to $DEFAULT_DURATION seconds" >&2 snapctl set duration="$DEFAULT_DURATION" - snapctl restart "$SNAP_NAME".imv fi +snapctl restart "$SNAP_NAME".imv