1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minio_ynh.git synced 2024-09-03 19:46:18 +02:00

Add --no-color to prevent error while logging

This commit is contained in:
Florent 2023-01-03 14:35:43 +01:00 committed by Florent F
parent f50ab1e673
commit 4795433de2
2 changed files with 2 additions and 2 deletions

View file

@ -187,7 +187,7 @@ ynh_systemd_action --service_name=nginx --action=reload
ynh_script_progression --message="Configuring MinIO client..." --weight=1
pushd $mc_path
ynh_exec_warn_less sudo -u $app ./mc alias set minio "http://127.0.0.1:$port" "$admin" "$password" --api S3v4
ynh_exec_warn_less sudo -u $app ./mc --no-color alias set minio "http://127.0.0.1:$port" "$admin" "$password" --api S3v4
popd
#=================================================

View file

@ -153,7 +153,7 @@ ynh_systemd_action --service_name=nginx --action=reload
ynh_script_progression --message="Configuring MinIO client..." --weight=1
pushd $mc_path
ynh_exec_warn_less sudo -u $app ./mc alias set minio "https://$domain" "$admin" "$password" --api S3v4
ynh_exec_warn_less sudo -u $app ./mc --no-color alias set minio "https://$domain" "$admin" "$password" --api S3v4
popd
#=================================================