X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2FBootManager.py;h=9ed03ed00337ff7d855a0a95a01d794fe6dbfedb;hb=25a324321680b91f2233464dfa0a6fac8c900f2b;hp=4ea06c8c44cff4765561e5b9259c4b4013826293;hpb=af4c13ea318458fc62645973f069657e7b5e5e20;p=bootmanager.git 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) ##############################