#!/bin/sh

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