diff --git a/cmd/backup/main.go b/cmd/backup/main.go index 07972a8f..c0008dc8 100644 --- a/cmd/backup/main.go +++ b/cmd/backup/main.go @@ -33,6 +33,7 @@ func main() { var courses map[string]*model.Course; if (args.Course != "") { + courses = make(map[string]*model.Course); course := db.MustGetCourse(args.Course); courses[course.GetID()] = course; } else {