fix: call the hook at the first call. (#26)
This commit is contained in:
parent
28e4c55785
commit
05afa6f5a0
@ -22,6 +22,8 @@ func Dump(acmeFile string, baseConfig *dumper.BaseConfig) error {
|
||||
}
|
||||
|
||||
if baseConfig.Watch {
|
||||
hook.Exec(baseConfig.Hook)
|
||||
|
||||
return watch(acmeFile, baseConfig)
|
||||
}
|
||||
return nil
|
||||
|
||||
Loading…
Reference in New Issue
Block a user