From 9b4e881e0593a3b9cc3fbeba0ef6800659d1bfd7 Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Tue, 20 Jul 2021 10:23:07 +0900 Subject: [PATCH] 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. --- include/ssh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3