Skip to content

Commit

Permalink
snap: this is sh…
Browse files Browse the repository at this point in the history
  • Loading branch information
Saviq authored Oct 13, 2023
1 parent 0b39a08 commit 8cb0ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap/hooks/install
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ daemon=$(snapctl get daemon)
if [ "$daemon" = "" ]
then
# if no model at all, it's either classic or something is wrong
if ! snapctl model > /dev/null || [ "$( snapctl model | awk '/^classic:/ { print $2 }' )" == "true" ]
if ! snapctl model > /dev/null || [ "$( snapctl model | awk '/^classic:/ { print $2 }' )" = "true" ]
then snapctl set daemon=false
else snapctl set daemon=true
fi
Expand Down

0 comments on commit 8cb0ee6

Please sign in to comment.