summaryrefslogtreecommitdiff
path: root/scripts/galera_recovery.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/galera_recovery.sh')
-rw-r--r--scripts/galera_recovery.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/galera_recovery.sh b/scripts/galera_recovery.sh
index 709c4b0eed5..8df2abc3fd5 100644
--- a/scripts/galera_recovery.sh
+++ b/scripts/galera_recovery.sh
@@ -101,8 +101,7 @@ wsrep_recover_position() {
# Safety checks
if [ -n "$log_file" -a -f "$log_file" ]; then
- [ "$euid" = "0" ] && chown $user $log_file
- chmod 600 $log_file
+ chmod 600 $log_file
else
log "WSREP: mktemp failed"
fi