File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -288,13 +288,15 @@ func TestShowSchedules(t *testing.T) {
288288schedule backup@default:
289289 at: daily
290290 permission: auto
291+ log-commands: auto
291292 priority: background
292293 lock-mode: default
293294 capture-environment: RESTIC_*
294295
295296schedule check@default:
296297 at: weekly
297298 permission: auto
299+ log-commands: auto
298300 priority: background
299301 lock-mode: default
300302 capture-environment: RESTIC_*
Original file line number Diff line number Diff line change @@ -67,6 +67,9 @@ func (s *ScheduleBaseConfig) init(defaults *ScheduleBaseConfig) {
6767 if s .Log == "" {
6868 s .Log = defaults .Log
6969 }
70+ if s .LogCommands == "" {
71+ s .LogCommands = defaults .LogCommands
72+ }
7073 if s .Priority == "" {
7174 s .Priority = defaults .Priority
7275 }
You can’t perform that action at this time.
0 commit comments