From 7f6161ab3af81e0adf834d9cfb6d232ad5c54ec2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 21 Feb 2007 23:08:55 +0000 Subject: * Flush cout to show progress. --- src/nix-store/nix-store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nix-store') diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc index 9c4790039..88acc79aa 100644 --- a/src/nix-store/nix-store.cc +++ b/src/nix-store/nix-store.cc @@ -640,7 +640,7 @@ static void opImport(Strings opFlags, Strings opArgs) FdSource source(STDIN_FILENO); while (readInt(source) == 1) - cout << format("%1%\n") % store->importPath(false, source); + cout << format("%1%\n") % store->importPath(false, source) << std::flush; } -- cgit v1.2.3