Skip to content

Commit 4c196e8

Browse files
committed
fix ssh agent test in penguin script
1 parent daa1525 commit 4c196e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

penguin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ penguin_run() {
395395
exit 1
396396
fi
397397

398-
if [ ! -z "${SSH_AUTH_SOCK+x}" ]; then
398+
if [ -n "${SSH_AUTH_SOCK}" ]; then
399399
# Build with ssh
400400
DOCKER_BUILDKIT=1 docker build --build-arg SSH=1 --ssh default -t $image -t rehosting/fw2tar .
401401
else

0 commit comments

Comments
 (0)