mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 08:42:57 -04:00
snapctl doesn't error if it fails I guess
This commit is contained in:
parent
7c683ba6c5
commit
4635ba26dd
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
snapctl get first-install
|
||||
if [ "$?" -eq "1"]; then
|
||||
first_install=$(snapctl get first-install)
|
||||
if [ "$first_install" -ne "false"]; then
|
||||
snapctl set first-install="false"
|
||||
exit 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue