index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Evangelos Foutras <evangelos@foutrelis.com> | 2014-12-22 19:19:38 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-12-24 11:15:25 +1000 |
commit | c07593c64ce616c768061348865ead2a13248b0f (patch) | |
tree | 7fe0e7d64445568e6e5bc964d1efd31711624ae2 | |
parent | a1c50a08c9307cd21947269bd8382add1acf2515 (diff) |
-rw-r--r-- | lib/libalpm/log.c | 2 |
diff --git a/lib/libalpm/log.c b/lib/libalpm/log.c index d232bcc3..9af5e846 100644 --- a/lib/libalpm/log.c +++ b/lib/libalpm/log.c @@ -52,7 +52,7 @@ int SYMEXPORT alpm_logaction(alpm_handle_t *handle, const char *prefix, int fd; do { fd = open(handle->logfile, O_WRONLY | O_APPEND | O_CREAT | O_CLOEXEC, - 0000); + 0644); } while(fd == -1 && errno == EINTR); if(fd >= 0) { handle->logstream = fdopen(fd, "a"); |