1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-17 23:35:15 +01:00
This commit is contained in:
binwiederhier 2024-03-07 13:00:39 -05:00
parent 94f60fb5b8
commit 8931f25ac5

View file

@ -432,17 +432,6 @@ func execServe(c *cli.Context) error {
return nil
}
func parseSize(s string, defaultValue int64) (v int64, err error) {
if s == "" {
return defaultValue, nil
}
v, err = util.ParseSize(s)
if err != nil {
return 0, err
}
return v, nil
}
func sigHandlerConfigReload(config string) {
sigs := make(chan os.Signal, 1)
signal.Notify(sigs, syscall.SIGHUP)