From 8ceff21474377b7be42cd87c5737b19438b58b1a Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Wed, 22 Dec 2021 19:15:49 +0100 Subject: [PATCH] Fix(adduser): correct echo redirect --- plugins/adduser/adduser.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/adduser/adduser.plugin.zsh b/plugins/adduser/adduser.plugin.zsh index b01e87ee1..02dfb556b 100644 --- a/plugins/adduser/adduser.plugin.zsh +++ b/plugins/adduser/adduser.plugin.zsh @@ -40,7 +40,7 @@ adduser() { #cleanup rm $temp_installscript else - echo "Installationscript '$path_installscript' not available" 2> /dev/stderr; + echo "Installationscript '$path_installscript' not available" > /dev/stderr; returncode=1 fi @@ -48,7 +48,7 @@ adduser() { if [[ $returncode -eq 0 ]]; then echo "$result_string succeeded." else - echo "$result_string failed." 2> /dev/stderr + echo "$result_string failed." > /dev/stderr fi return $returncode