From: Matthias Kruk Date: Tue, 20 Jul 2021 01:23:07 +0000 (+0900) Subject: include/ssh: Fix invalid function reference X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=9b4e881e0593a3b9cc3fbeba0ef6800659d1bfd7;p=toolbox-goodies include/ssh: Fix invalid function reference The ssh module makes a call to error() in order to log an error message, however that function does not exist (anymore). This commit changes the call to reference log_error() instead. --- diff --git a/include/ssh.sh b/include/ssh.sh index 39e5ba2..148ad5f 100755 --- a/include/ssh.sh +++ b/include/ssh.sh @@ -28,7 +28,7 @@ __init() { _ssh_get_socket_dir() { if ! mkdir -p "$__ssh_socket_dir" &> /dev/null; then - error "Could not create $__ssh_socket_dir" + log_error "Could not create $__ssh_socket_dir" return 1 fi