We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b39a08 commit 8cb0ee6Copy full SHA for 8cb0ee6
snap/hooks/install
@@ -12,7 +12,7 @@ daemon=$(snapctl get daemon)
12
if [ "$daemon" = "" ]
13
then
14
# if no model at all, it's either classic or something is wrong
15
- if ! snapctl model > /dev/null || [ "$( snapctl model | awk '/^classic:/ { print $2 }' )" == "true" ]
+ if ! snapctl model > /dev/null || [ "$( snapctl model | awk '/^classic:/ { print $2 }' )" = "true" ]
16
then snapctl set daemon=false
17
else snapctl set daemon=true
18
fi
0 commit comments