From 25a324321680b91f2233464dfa0a6fac8c900f2b Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Wed, 10 Nov 2010 18:19:28 -0500 Subject: [PATCH] never fail when uploading logs --- source/BootManager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/BootManager.py b/source/BootManager.py index 4ea06c8..9ed03ed 100755 --- a/source/BootManager.py +++ b/source/BootManager.py @@ -148,7 +148,8 @@ class log: if extra_file is not None: # NOTE: for code-reuse, evoke the bash function 'upload_logs'; # by adding --login, bash reads .bash_profile before execution. - utils.sysexec( """bash --login -c "upload_logs %s" """ % extra_file, self) + # Also, never fail, since this is an optional feature. + utils.sysexec( """bash --login -c "upload_logs %s || /bin/true" """ % extra_file, self) ############################## -- 2.43.0