summaryrefslogtreecommitdiffstats
path: root/.travis-functions.sh
diff options
context:
space:
mode:
authorKarel Zak2017-06-21 10:53:28 +0200
committerKarel Zak2017-06-21 10:53:28 +0200
commit6f1507f135bce5ba7f318c44e05327ca14a0505a (patch)
tree95c9c076aeb6da10f154dd2ae5bd3a035ee2bd53 /.travis-functions.sh
parentbuild-sys: chown before chmod for SUIDs (diff)
downloadkernel-qcow2-util-linux-6f1507f135bce5ba7f318c44e05327ca14a0505a.tar.gz
kernel-qcow2-util-linux-6f1507f135bce5ba7f318c44e05327ca14a0505a.tar.xz
kernel-qcow2-util-linux-6f1507f135bce5ba7f318c44e05327ca14a0505a.zip
wipefs: exit on failed erase
The current behavior is to report error and continue, it seems strange: # blockdev --setro /dev/sdc # wipefs -a /dev/sdc wipefs: /dev/sdc: failed to erase xfs magic string at offset 0x00000000: Operation not permitted /dev/sdc: 4 bytes were erased at offset 0x00000000 (xfs): 58 46 53 42 ^^^^^^^^^^^ not true The patch calls err() to exit. Reported-by: Vratislav Podzimek <vpodzime@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to '.travis-functions.sh')
0 files changed, 0 insertions, 0 deletions