fix: call the hook at the first call.
This commit is contained in:
parent
28e4c55785
commit
cd88e2788f
@ -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