Skip to content

Commit 97534c6

Browse files
committed
style: use 2 spaces instead of tabs
1 parent 8a0d4b8 commit 97534c6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.editorconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ max_line_length=off
1919
indent_size = 2
2020
trim_trailing_whitespace = false
2121

22+
[*.sh]
23+
indent_size = 2
24+
2225
[.gitmodules]
2326
indent_style = tab
2427

@@ -27,6 +30,3 @@ indent_style = tab
2730

2831
[{Makefile,*.mk}]
2932
indent_style = tab
30-
31-
[*.sh]
32-
indent_style = tab

container-entrypoint.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,23 +69,23 @@ logrotate_cron_timetable="/usr/sbin/logrotate ${logrotate_parameters} --state=${
6969
if [ "$1" = 'cron' ]; then
7070
if [ ${logrotate_autoupdate} = "true" ]; then
7171
mkdir -p /etc/ofelia
72-
cat <<EOF > /etc/ofelia/schedule-autoupdate.ini
72+
cat <<EOF > /etc/ofelia/schedule-autoupdate.ini
7373
[job-local "logrotate-with-autoupdate"]
7474
schedule = ${logrotate_croninterval}
7575
command = /bin/bash -c \"/usr/bin/logrotate.d/update-logrotate.sh && ${logrotate_cron_timetable}\"
7676
EOF
7777

78-
exec ofelia daemon --config /etc/ofelia/schedule-autoupdate.ini
78+
exec ofelia daemon --config /etc/ofelia/schedule-autoupdate.ini
7979
exit
8080
fi
81-
mkdir -p /etc/ofelia
82-
cat <<EOF > /etc/ofelia/schedule-standard.ini
81+
mkdir -p /etc/ofelia
82+
cat <<EOF > /etc/ofelia/schedule-standard.ini
8383
[job-local "logrotate"]
8484
schedule = ${logrotate_croninterval}
8585
command = /bin/bash -c \"${logrotate_cron_timetable}\"
8686
EOF
8787

88-
exec ofelia daemon --config /etc/ofelia/schedule-standard.ini
88+
exec ofelia daemon --config /etc/ofelia/schedule-standard.ini
8989
fi
9090

9191
exec "$@"

0 commit comments

Comments
 (0)