diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2015-04-12 06:01:21 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-05-12 06:00:54 +0200 |
commit | e4af5e3c9787a37103e71c7814564435ec241d4c (patch) | |
tree | e6c34553d2a86505f1f98719f781ecd008b1c11e /contrib/bash_completion.in | |
parent | ae7067440c20c49b3d11c63844d583381282c6b2 (diff) | |
download | pacman-e4af5e3c9787a37103e71c7814564435ec241d4c.tar.gz pacman-e4af5e3c9787a37103e71c7814564435ec241d4c.tar.xz |
alpm_logaction: check logfile before opening
valgrind does not like calling open(NULL, ...). This also makes the
return value 0 if logfile has not been set.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'contrib/bash_completion.in')
0 files changed, 0 insertions, 0 deletions