summaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-08-25 15:44:24 +0200
committerDavid Sterba <dsterba@suse.com>2017-08-25 15:58:05 +0200
commitfb0d53a9377351d2875bde422e11b1213caf0b48 (patch)
tree3d9e125e62e7afa7b6cf184eb2553886e5052ea1 /mkfs
parentffb2878e1ee4620fc2e6e99f20841087bb717080 (diff)
btrfs-progs: tests: fix _is_file_or_command detection
type -p returns an empty string for nonexistent commands, but the -f test on an empty string does not behave the same on all shells. To be safe, use the quoted value. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'mkfs')
0 files changed, 0 insertions, 0 deletions