From 752b04986690b8fdf6b1b7f9e9f01e2750672dcc Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 12 Sep 2017 15:30:26 +0530 Subject: [PATCH] =?UTF-8?q?upgrade:=20don=E2=80=99t=20warn=20when=20the=20?= =?UTF-8?q?archive=20file=20doesn=E2=80=99t=20exist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 083adae..a7e0f2e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -18,7 +18,7 @@ archive_filename="mattermost-$version.tar.gz" function cleanup_and_restart { set +e - sudo rm "$archive_filename" + sudo rm -f "$archive_filename" sudo supervisorctl start mattermost # Exit (without triggering a package_linter warning)