#!/bin/sh

set -e

RUN_AS_USER=tails-persistence-setup

cd /
xhost +SI:localuser:"$RUN_AS_USER"
sudo -u "$RUN_AS_USER" /usr/bin/tails-persistence-setup --step delete $@
xhost -SI:localuser:"$RUN_AS_USER"


syntax highlighted by Code2HTML, v. 0.9.1