From b818f49906e12348cff0c6bf94ae6e24e6d29909 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 23 Jul 2022 03:46:50 +0200 Subject: [PATCH] Less warnings --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 4de8a4d..d225cfd 100755 --- a/scripts/install +++ b/scripts/install @@ -148,7 +148,7 @@ then ynh_use_go export GOPATH="$tempdir/go" export GOCACHE="$tempdir/.cache" - $ynh_go build + ynh_exec_warn_less $ynh_go build popd mv -f $tempdir/nomad-driver-lxc $datadir/plugins/nomad-driver-lxc diff --git a/scripts/upgrade b/scripts/upgrade index bc97c15..94ff385 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -115,7 +115,7 @@ then ynh_use_go export GOPATH="$tempdir/go" export GOCACHE="$tempdir/.cache" - $ynh_go build + ynh_exec_warn_less$ynh_go build popd mv -f $tempdir/nomad-driver-lxc $datadir/plugins/nomad-driver-lxc