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