Fix: Ersetzt ein echo durch log
This commit is contained in:
parent
0737e9fce8
commit
5226d50aa3
@ -2,6 +2,7 @@
|
||||
|
||||
# === IMPORTS ===
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
source "$SCRIPT_DIR/../Utility/IsWebdavMounted.sh"
|
||||
source "$SCRIPT_DIR/../Utility/WakeOnLan.sh"
|
||||
source "$SCRIPT_DIR/../Utility/IsMounted.sh"
|
||||
source "$SCRIPT_DIR/../Utility/Log.sh"
|
||||
@ -101,7 +102,7 @@ mount_webdav() {
|
||||
|
||||
# Prüfen, ob das Dateisystem bereits gemountet ist
|
||||
if is_mounted "$MOUNT_POINT"; then
|
||||
echo "Das Dateisystem ist bereits gemountet unter $MOUNT_POINT."
|
||||
log "Das Dateisystem ist bereits gemountet unter $MOUNT_POINT."
|
||||
exit 0 # Skript beenden, da kein weiteres Mounten erforderlich ist
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user