refactor: remove -o because of commit 6cb3f8196c

This commit is contained in:
Steven 2025-12-06 14:19:54 +00:00
parent 2e3a6dbe55
commit d4403aa37e
9 changed files with 9 additions and 9 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
set -euo
set -eu
source agent-start "${1:-default}"
cat - | tr -d '\r' | DISPLAY=1 SSH_ASKPASS=agent-askpass ssh-add - >/dev/null

View file

@ -1,5 +1,5 @@
#!/bin/sh
set -euo
set -eu
echo "$SSH_PASS"

View file

@ -1,6 +1,6 @@
#!/bin/sh
set -euo
set -eu
FOLDER=${1:-default}
STORE_PATH="/tmp/ssh-agent/$FOLDER"

View file

@ -1,6 +1,6 @@
#!/bin/sh
set -euo
set -eu
if [ ! -z "$SSH_AGENT_PID" ]; then
# Here, the environment is set already, just kill the script.

View file

@ -1,5 +1,5 @@
#!/bin/sh
set -euo
set -eu
printf '%s\n' "$@" >> $HOME/.ssh/known_hosts

View file

@ -1,5 +1,5 @@
#!/bin/sh
set -euo
set -eu
truncate -s 0 $HOME/.ssh/known_hosts

View file

@ -1,6 +1,6 @@
#!/bin/sh
set -euo
set -eu
touch $HOME/.ssh/known_hosts
chmod 600 $HOME/.ssh/known_hosts

View file

@ -1,5 +1,5 @@
#!/bin/sh
set -euo
set -eu
mkdir -m 700 $HOME/.ssh

View file

@ -1,6 +1,6 @@
#!/bin/sh
set -euo
set -eu
if [ "${INPUT_DEBUG:-false}" = "true" ]; then
set -x