X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=source%2FBootManager.py;h=29497fe02b0104c6ed3af3dfc41ba35195f77e43;hb=88e017488d0d1875029b1d349cbe456d3ad3fe89;hp=9ed03ed00337ff7d855a0a95a01d794fe6dbfedb;hpb=c70e73b0bb802331e321af99ff3694f38682521a;p=bootmanager.git diff --git a/source/BootManager.py b/source/BootManager.py index 9ed03ed..29497fe 100755 --- a/source/BootManager.py +++ b/source/BootManager.py @@ -149,7 +149,7 @@ class log: # NOTE: for code-reuse, evoke the bash function 'upload_logs'; # by adding --login, bash reads .bash_profile before execution. # Also, never fail, since this is an optional feature. - utils.sysexec( """bash --login -c "upload_logs %s || /bin/true" """ % extra_file, self) + utils.sysexec_noerr( """bash --login -c "upload_logs %s" """ % extra_file, self) ############################## @@ -369,7 +369,7 @@ def main(argv): LOG= log( BM_NODE_LOG ) # NOTE: assume CWD is BM's source directory, but never fail - utils.sysexec("./setup_bash_history_scripts.sh || /bin/true", LOG) + utils.sysexec_noerr("./setup_bash_history_scripts.sh", LOG) LOG.LogEntry( "BootManager started at: %s" % \ time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime()) )