Re: [PATCH 1/3] Fix reading dasd status sysfs attribute (#536803).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ack.

On 01/19/2010 03:43 AM, David Cantrell wrote:
---
  loader/linuxrc.s390 |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/loader/linuxrc.s390 b/loader/linuxrc.s390
index fee9299..7a6be69 100644
--- a/loader/linuxrc.s390
+++ b/loader/linuxrc.s390
@@ -136,7 +136,8 @@ function dasd_settle() {
      fi
      local i=1
      while [ $i -le 30 ] ; do
-        status="$(<  $dasd_status 2>/dev/null)"
+        local status
+        read status<  $dasd_status
          case $status in
              online|unformatted)
                  return 0 ;;

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux