fixed crashing when no config was found
This commit is contained in:
parent
82c098aa0d
commit
d48f3f9737
2 changed files with 1 additions and 4 deletions
|
@ -33,11 +33,8 @@ RUN apk --no-cache add \
|
|||
su-exec \
|
||||
tzdata
|
||||
|
||||
|
||||
|
||||
COPY docker /
|
||||
COPY --from=build-env /go/src/code.vikunja.io/api/vikunja /app/vikunja/api
|
||||
#RUN ln -s /app/vikunja/vikunja /usr/local/bin/vikunja
|
||||
|
||||
ENTRYPOINT ["/bin/s6-svscan", "/etc/services.d"]
|
||||
CMD []
|
||||
|
|
|
@ -42,7 +42,7 @@ func InitConfig() (err error) {
|
|||
fmt.Println("Using defaults.")
|
||||
}
|
||||
|
||||
return
|
||||
return nil
|
||||
}
|
||||
|
||||
func random(length int) (string, error) {
|
||||
|
|
Loading…
Reference in a new issue