[vhffs-dev] [1537] display progression status when using check mode

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1537
Author:   gradator
Date:     2010-01-10 18:46:05 +0100 (Sun, 10 Jan 2010)
Log Message:
-----------
display progression status when using check mode

Modified Paths:
--------------
    trunk/vhffs-fssync/vhffsfssync_slave.c

Modified: trunk/vhffs-fssync/vhffsfssync_slave.c
===================================================================
--- trunk/vhffs-fssync/vhffsfssync_slave.c	2010-01-10 02:53:04 UTC (rev 1536)
+++ trunk/vhffs-fssync/vhffsfssync_slave.c	2010-01-10 17:46:05 UTC (rev 1537)
@@ -660,6 +660,9 @@
 		root = args[1];
 		root_ = strdup(root);
 
+		printf("\033[2K\033[0G%s - ", root);
+		fflush(stdout);
+
 		if( lstat(root, &st) ) {
 			printf("%s not found on slave\n", root );
 		}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/