Skip to content

Commit 8cb0ee6

Browse files
authored
snap: this is sh…
1 parent 0b39a08 commit 8cb0ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snap/hooks/install

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ daemon=$(snapctl get daemon)
1212
if [ "$daemon" = "" ]
1313
then
1414
# 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" ]
15+
if ! snapctl model > /dev/null || [ "$( snapctl model | awk '/^classic:/ { print $2 }' )" = "true" ]
1616
then snapctl set daemon=false
1717
else snapctl set daemon=true
1818
fi

0 commit comments

Comments
 (0)