#bash on freenode have branded [[ ... ]] onto my forehead :) If $UID does the same work, then this should be easy with a simple "if $UID; then...". I'll play around with it.