mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 21:51:05 +01:00
Fix(adduser): correct echo redirect
This commit is contained in:
parent
510d7a778a
commit
8ceff21474
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ adduser() {
|
||||||
#cleanup
|
#cleanup
|
||||||
rm $temp_installscript
|
rm $temp_installscript
|
||||||
else
|
else
|
||||||
echo "Installationscript '$path_installscript' not available" 2> /dev/stderr;
|
echo "Installationscript '$path_installscript' not available" > /dev/stderr;
|
||||||
returncode=1
|
returncode=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ adduser() {
|
||||||
if [[ $returncode -eq 0 ]]; then
|
if [[ $returncode -eq 0 ]]; then
|
||||||
echo "$result_string succeeded."
|
echo "$result_string succeeded."
|
||||||
else
|
else
|
||||||
echo "$result_string failed." 2> /dev/stderr
|
echo "$result_string failed." > /dev/stderr
|
||||||
fi
|
fi
|
||||||
|
|
||||||
return $returncode
|
return $returncode
|
||||||
|
|
Loading…
Reference in a new issue