ARC: fix crash on signing with missing key file
[exim.git] / test / aux-fixed / showenv
index a49833adab3d9d0e201eeae3a2cea405c8a3c6fd..2d46eefb77a83fe607beea9694bd9073ceca61af 100755 (executable)
@@ -3,8 +3,12 @@
 # This script outputs certain information about the environment, for use when
 # testing pipe transports.
 
+cmd=/usr/xpg4/bin/id
+[ -x $cmd ] || cmd=id
+name=`$cmd -un`
+
 echo Test pipe script
-echo Running as: `whoami`
+echo Running as: $name
 echo ------------------
 echo Args:
 while [ "$1" != "" ]; do