diff options
| -rw-r--r-- | units/sn_auth.zsh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/units/sn_auth.zsh b/units/sn_auth.zsh index ca3fa2f..028dcb8 100644 --- a/units/sn_auth.zsh +++ b/units/sn_auth.zsh @@ -17,6 +17,12 @@ else return fi +if ! mkdir -p "${user_config}" +then + output_text="Failed to create user config" + return +fi + if ! sn_data="$( curl --connect-timeout ${connrefused_timeout} \ --data-urlencode "output_type=2" \ |
