rootfs/home/andre/.bashrc aktualisiert

This commit is contained in:
2026-01-21 09:10:24 +01:00
parent bd61a52048
commit c4e41f4db0

View File

@@ -71,7 +71,6 @@ shopt -s expand_aliases
shopt -s extglob shopt -s extglob
cy-ssh() { cy-ssh() {
trap 'exit 0' EXIT
set -euo pipefail set -euo pipefail
if [ $# -lt 1 ]; then if [ $# -lt 1 ]; then
@@ -168,8 +167,9 @@ cy-ssh() {
# Optional Debug # Optional Debug
############################################################################### ###############################################################################
echo "DEBUG: ${CMD[*]}" >&2 echo "DEBUG: ${CMD[*]}" >&2
set +e
"${CMD[@]}" "${CMD[@]}"
local exit_code=$? local exit_code=$?
if [ $exit_code -ne 0 ]; then if [ $exit_code -ne 0 ]; then
echo " echo "