diff options
author | loli10K <[email protected]> | 2019-09-04 00:20:39 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-09-03 15:20:39 -0700 |
commit | a49dbbbe06c6c0d0c401530c756c0c056d49fbb7 (patch) | |
tree | 3a272d13495044711c9b2115d9ef7739a2440bf9 /cmd/zpool/zpool_main.c | |
parent | a6a2877774faa5abfc0491e66c8361da759d22fd (diff) |
Fix zfs-dkms .deb package warning in prerm script
Debian zfs-dkms package generated by alien doesn't call the prerm script
(rpm's %preun) with an integer as first parameter, which results in the
following warning when the package is uninstalled:
"zfs-dkms.prerm: line 3: [: remove: integer expression expected"
Modify the if-condition to avoid the warning.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #9271
Diffstat (limited to 'cmd/zpool/zpool_main.c')
0 files changed, 0 insertions, 0 deletions