#!/bin/bash if test "$(whoami)" = "$(cat /home/test/active)"; then echo "I am the active color, will not obey to BB" exit 0 fi source "${HOME}/activate" WIRE_RESPONSE=$(taler-config -s account-1 -o wire_response -f) rm -f $WIRE_RESPONSE || true taler-exchange-wire chmod g+rx $WIRE_RESPONSE chgrp test $WIRE_RESPONSE