1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-10-16 11:40:46 +00:00

Fix(adduser): correct echo redirect

This commit is contained in:
Nikolas Garofil 2021-12-22 19:15:49 +01:00
parent 510d7a778a
commit 8ceff21474

View file

@ -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