diff options
author | Harald Hoyer <harald@redhat.com> | 2013-02-05 16:45:42 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-02-05 16:45:42 +0100 |
commit | 19bab59c48ba6edbdf9d6d9f339baef250bdd4a6 (patch) | |
tree | 4dd78a31a6b039371af4b3174c8610b6b22376b1 /dracut.sh | |
parent | d8b627b9dcd12c5d4a967f7e8143ecf63d75be1f (diff) | |
download | dracut-19bab59c48ba6edbdf9d6d9f339baef250bdd4a6.tar.gz dracut-19bab59c48ba6edbdf9d6d9f339baef250bdd4a6.tar.bz2 dracut-19bab59c48ba6edbdf9d6d9f339baef250bdd4a6.zip |
dracut.sh: reverting return value change
reverting _get_fs_type() return values of patch
c8d685c9d3860e49f39a9c85ffebbb4c4fec341f
Diffstat (limited to 'dracut.sh')
-rwxr-xr-x | dracut.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -766,18 +766,18 @@ if [[ $hostonly ]]; then fi _get_fs_type() ( - [[ $1 ]] || return 1 + [[ $1 ]] || return if [[ -b $1 ]] && get_fs_env $1; then echo "$(readlink -f $1)|$ID_FS_TYPE" - return 0 + return 1 fi if [[ -b /dev/block/$1 ]] && get_fs_env /dev/block/$1; then echo "$(readlink -f /dev/block/$1)|$ID_FS_TYPE" - return 0 + return 1 fi if fstype=$(find_dev_fstype $1); then echo "$1|$fstype" - return 0 + return 1 fi return 1 ) |