Skip to content

Commit

Permalink
Merge pull request #2701 from freenas/fix-78231
Browse files Browse the repository at this point in the history
[install.sh] Fix upgrades from installer
  • Loading branch information
Ryan Moeller committed Mar 4, 2019
2 parents 31705bd + 7b5bf4e commit f51429b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/freenas-installer/etc/install.sh
Expand Up @@ -629,7 +629,7 @@ disk_is_freenas()
# This code is very clumsy. There
# should be a way to structure it such that
# all of the cleanup happens as we want it to.
zdb -l ${os_part} | fgrep -q "name: 'freenas-boot'" || return 1
zdb -l ${os_part} | grep -qF "name: 'freenas-boot'" || return 1
zpool import -N -f freenas-boot || return 1

# Now we want to figure out which dataset to use.
Expand Down

0 comments on commit f51429b

Please sign in to comment.