summaryrefslogtreecommitdiff
path: root/regress/principals-command.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/principals-command.sh')
-rw-r--r--regress/principals-command.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/principals-command.sh b/regress/principals-command.sh
index c3816e08..90064373 100644
--- a/regress/principals-command.sh
+++ b/regress/principals-command.sh
@@ -6,8 +6,10 @@ tid="authorized principals command"
rm -f $OBJ/user_ca_key* $OBJ/cert_user_key*
cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
-if [ -z "$SUDO" ]; then
- fatal "need SUDO to create file in /var/run, test won't work without"
+if test -z "$SUDO" ; then
+ echo "skipped (SUDO not set)"
+ echo "need SUDO to create file in /var/run, test won't work without"
+ exit 0
fi
# Establish a AuthorizedPrincipalsCommand in /var/run where it will have