From 2f2e7a69a0a77b0f4860f2b22a58393bcd97f04d Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Sat, 15 Feb 2014 11:34:34 +0100 Subject: [PATCH 1/1] fix script Signed-off-by: Martin Zobel-Helas --- remoteuser-hack | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/remoteuser-hack b/remoteuser-hack index 7103890..f53c11a 100755 --- a/remoteuser-hack +++ b/remoteuser-hack @@ -1,8 +1,9 @@ #!/bin/bash -if [ -e $DACS_USERNAME ]; then - REMOTE_USER=$DACS_USERNAME +if [ ! -z "$DACS_USERNAME" ]; then + REMOTE_USER="$DACS_USERNAME" export REMOTE_USER fi -$0.real "$@" +exec $0.real "$@" + -- 2.30.2