Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=49e1efcba892bfad681bf55abc563c26bb0d931a

commit 49e1efcba892bfad681bf55abc563c26bb0d931a
Author: James Buren <[email protected]>
Date:   Wed Oct 17 15:06:56 2012 -0500

now write with disk_flush()

diff --git a/src/block.c b/src/block.c
index 4fd30fe..8b2b06c 100644
--- a/src/block.c
+++ b/src/block.c
@@ -911,6 +911,12 @@ extern bool disk_flush(struct disk *disk)
n = strlen(command);
}

+  if(!zapdisk(disk->device->path))
+    return false;
+
+  if(!execute(command,"/",0))
+    return false;
+
return true;
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to