Skip to content

Commit

Permalink
95iscsi: remove superfluous pushd/popd
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Molkentin authored and danimo committed Oct 31, 2019
1 parent b6c1144 commit 8b54b19
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules.d/95iscsi/module-setup.sh
Expand Up @@ -10,9 +10,7 @@ check() {
# booting from root.

[[ $hostonly ]] || [[ $mount_needs ]] && {
pushd . >/dev/null
for_each_host_dev_and_slaves block_is_iscsi || return 255
popd >/dev/null
}
return 0
}
Expand Down

0 comments on commit 8b54b19

Please sign in to comment.