gpt-auto-generator: fix the handling of the value returned by fstab_has_fstype()...
authorFranck Bui <fbui@suse.com>
Tue, 4 Jul 2017 15:41:09 +0000 (17:41 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 4 Jul 2017 15:41:09 +0000 (11:41 -0400)
commit1a680ae36734a121c5d1767d35bda9e6a923db6d
tree1493db75d703bb4354265064a3caaa804df9fb81
parent65e1dee7dcf1668c25c32f0238c935708dbffbcf
gpt-auto-generator: fix the handling of the value returned by fstab_has_fstype() in add_swap() (#6280)

fstab_has_fstype() returns '1' if fstab contains the passed fstype, not '0'.
src/gpt-auto-generator/gpt-auto-generator.c