mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-04-05 14:07:39 +03:00
Avoid panic if user.Current() fails; add logging to "ntfy subscribe" to help figure out what's wrong
This commit is contained in:
parent
7ab8ef73a3
commit
ef302d22a9
5 changed files with 31 additions and 14 deletions
|
@ -13,6 +13,6 @@ var (
|
|||
scriptLauncher = []string{"sh", "-c"}
|
||||
)
|
||||
|
||||
func defaultClientConfigFile() string {
|
||||
func defaultClientConfigFile() (string, error) {
|
||||
return defaultClientConfigFileUnix()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue