diff options
Diffstat (limited to 'regress/keys-command.sh')
-rw-r--r-- | regress/keys-command.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/keys-command.sh b/regress/keys-command.sh index af68cf15c..9c9ada7c7 100644 --- a/regress/keys-command.sh +++ b/regress/keys-command.sh | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | tid="authorized keys from command" | 4 | tid="authorized keys from command" |
5 | 5 | ||
6 | if test -z "$SUDO" ; then | 6 | if [ -z "$SUDO" -a ! -w /var/run ]; then |
7 | echo "skipped (SUDO not set)" | 7 | echo "skipped (SUDO not set)" |
8 | echo "need SUDO to create file in /var/run, test won't work without" | 8 | echo "need SUDO to create file in /var/run, test won't work without" |
9 | exit 0 | 9 | exit 0 |