real counterparts, instead of just forking them off. This should
help scripts who call, eg. sshd, and want to know the true pid.
# Wrapper script to ensure that the correct files are used.
#
+if [ "x$GLOBUS_LOCATION" = "x" ]; then
+ echo "Set GLOBUS_LOCATION before running this script"
+ exit 1
+fi
+
# $GLOBUS_LOCATION/bin/scp.real -S $GLOBUS_LOCATION/bin/ssh -F /etc/ssh/ssh_config $*
-$GLOBUS_LOCATION/bin/scp.real -S $GLOBUS_LOCATION/bin/ssh $*
+exec $GLOBUS_LOCATION/bin/scp.real -S $GLOBUS_LOCATION/bin/ssh $*
# Wrapper script to ensure that the correct files are used.
#
+if [ "x$GLOBUS_LOCATION" = "x" ]; then
+ echo "Set GLOBUS_LOCATION before running this script"
+ exit 1
+fi
+
# $GLOBUS_LOCATION/bin/sftp.real -S $GLOBUS_LOCATION/bin/ssh -F /etc/ssh/ssh_config $*
-$GLOBUS_LOCATION/bin/sftp.real -S $GLOBUS_LOCATION/bin/ssh $*
+exec $GLOBUS_LOCATION/bin/sftp.real -S $GLOBUS_LOCATION/bin/ssh $*
# line and comment out the second line.
#
+if [ "x$GLOBUS_LOCATION" = "x" ]; then
+ echo "Set GLOBUS_LOCATION before running this script"
+ exit 1
+fi
+
# $GLOBUS_LOCATION/sbin/sshd.real -f /etc/ssh/sshd_config $*
-$GLOBUS_LOCATION/sbin/sshd.real $*
+exec $GLOBUS_LOCATION/sbin/sshd.real $*