Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.cdt/templates/prerun_template.sh')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.cdt/templates/prerun_template.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.cdt/templates/prerun_template.sh b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.cdt/templates/prerun_template.sh
index 58880b617..1cfb188e2 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.cdt/templates/prerun_template.sh
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.launch.cdt/templates/prerun_template.sh
@@ -5,6 +5,7 @@ INITIALDIR=`pwd`
case x$1 in x-u__)
USERID=$2
shift 2
+ echo "Switching to user \"$USERID\" using \"sudo -u\"."
sudo -H -u $USERID /bin/sh $0 $@
exitcode=$?
if [ $exitcode -ne 0 ]; then

Back to the top