X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mail-route;h=52f4651becd9c8afc758c2fd791157f9224e9784;hb=8452f3f3e0b837ba4e616e062787d726d7888b76;hp=1dea430b1bb22288d93b95b570bee19102e241a5;hpb=f95f9128ba77e77d41389810affd475581075246;p=distro-setup diff --git a/mail-route b/mail-route index 1dea430..52f4651 100755 --- a/mail-route +++ b/mail-route @@ -13,7 +13,7 @@ set -x # See the License for the specific language governing permissions and # limitations under the License. -[[ $EUID == 0 ]] || exec sudo "$BASH_SOURCE" "$@" +[[ $EUID == 0 ]] || exec sudo -E "${BASH_SOURCE[0]}" "$@" source /a/bin/errhandle/err