Skip to content

Commit f2f99d5

Browse files
committed
Changed cron ownership to one-liner
1 parent 75d829f commit f2f99d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

elkserver/docker/redelk-base/redelkinstalldata/42_redelk-base-docker-init.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ echo "" >>$LOGFILE
207207

208208
echo "[*] Fixing cron file permissions" | tee -a $LOGFILE
209209
chown root:root /etc/cron.d/redelk && chmod 644 /etc/cron.d/redelk >> $LOGFILE 2>&1
210+
chown root:root /etc/cron.d/redelk && chmod 644 /etc/cron.d/redelk >> $LOGFILE 2>&1
210211
ERROR=$?
211212
if [ $ERROR -ne 0 ]; then
212213
echo "[X] Could not fix cron file permissions (Error Code: $ERROR)."

0 commit comments

Comments
 (0)