diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-05-30 16:36:31 +0200 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-05-30 16:36:31 +0200 |
commit | 95104a7cc264e21d8fc77bdc9fc9748e1b8abc98 (patch) | |
tree | eb552c44b53842acf216394d1dc68a8e29865c1a /pyfirstaidkit/utils/backup.py | |
parent | 9066933c13649c0913a0d3387728573580912c41 (diff) | |
download | firstaidkit-95104a7cc264e21d8fc77bdc9fc9748e1b8abc98.tar.gz firstaidkit-95104a7cc264e21d8fc77bdc9fc9748e1b8abc98.tar.xz firstaidkit-95104a7cc264e21d8fc77bdc9fc9748e1b8abc98.zip |
Fix traceback if user not root and has not log file defined.
If firstaidkit is run with default config (from configuration.py) the
log file is /var/log/firstaidkit.log. This could generate a traceback
if the user is not root. This patch simply make fak fall back on a
file located on the curren directory. If this further fails print error
and exit with error code.
Diffstat (limited to 'pyfirstaidkit/utils/backup.py')
0 files changed, 0 insertions, 0 deletions