From 0f1b6aea1fc7a2753cfde98a74c1ab74e258576e Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 27 Dec 2015 09:45:56 +0100 Subject: Explicitly set log file permissions This ensures that the log file is actually accessable - there was a problem where e.g. `change rm test` did not create the log file correctly. --- src/change_log.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/change_log.cc') diff --git a/src/change_log.cc b/src/change_log.cc index a0c929d..4caaa6a 100644 --- a/src/change_log.cc +++ b/src/change_log.cc @@ -62,7 +62,7 @@ int rmdir(const char* path) { int unlink(const char* path) { if ( utility::is_regular_file(path) ) { - logger->append("rm '" + std::string(path) + "'"); + logger->append("remove '" + std::string(path) + "'"); } return actual::unlink(path); -- cgit v1.2.3