Re: [PATCH] Sleep if the kickstart file read fails.

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

 




What's the point of defining "s" this way at all?  Why not just do

for (i = 0; rc&&  i<  5; i++) {
     logMessage(INFO, "sleeping to wait for USB storage devices");
     sleep(1<<  i);
     rc = doPwMount(device, "/tmp/mnt", "auto", "ro", NULL);
}

(note that I also switch logMessage to INFO there, which I think it
probably should be...)


Nice, will them to the patch.

_______________________________________________
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