&> /dev/null

This commit is contained in:
Michael Grote 2023-07-21 21:29:38 +02:00
parent 84592b9e21
commit f1f8f019c8
1 changed files with 1 additions and 1 deletions

2
app.sh
View File

@ -42,7 +42,7 @@ while true ; do
echo clone
pwd
GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no -i $GIT_REPO_DEPLOY_KEY" git clone "$GIT_REPO_URL" "$GIT_REPO_PATH" --quiet 2>&1 > /dev/null
GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no -i $GIT_REPO_DEPLOY_KEY" git clone "$GIT_REPO_URL" "$GIT_REPO_PATH" --quiet &> /dev/null
cd "$GIT_REPO_PATH"
# Save the current value of IFS to restore later