#!/usr/bin/python -u
#
-# $Id$
-# $URL$
-#
# Copyright (c) 2003 Intel Corporation
# All rights reserved.
#
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_noerr( """bash --login -c "upload_logs %s" """ % extra_file, self)
##############################
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()) )