]> andersk Git - openssh.git/blobdiff - regress/test-exec.sh
- dtucker@cvs.openbsd.org 2007/06/12 11:56:15
[openssh.git] / regress / test-exec.sh
index bfbb305b4ed01087b6a2251c24aa07ef0ccc7770..59ae33c0848a7c22e7f2267dc5663cd2969835c9 100644 (file)
@@ -24,6 +24,8 @@ if [ -x /usr/ucb/whoami ]; then
        USER=`/usr/ucb/whoami`
 elif whoami >/dev/null 2>&1; then
        USER=`whoami`
+elif logname >/dev/null 2>&1; then
+       USER=`logname`
 else
        USER=`id -un`
 fi
This page took 0.0322 seconds and 4 git commands to generate.