#!/bin/sh

RETVAL=$(snapctl get exitcode)
echo "$RETVAL" > /root/remove-hook-executed
exit "$RETVAL"
