From b21f90c75ec262a10d04bcd9a49f9ac17daca2c1 Mon Sep 17 00:00:00 2001 From: Caner Candan Date: Tue, 24 Aug 2010 11:22:06 +0200 Subject: [PATCH] * fixed remove command issue --- src/utils/doFileSnapshot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/doFileSnapshot.cpp b/src/utils/doFileSnapshot.cpp index 6879d75e..3ad012f7 100644 --- a/src/utils/doFileSnapshot.cpp +++ b/src/utils/doFileSnapshot.cpp @@ -62,7 +62,7 @@ doFileSnapshot::doFileSnapshot(std::string dirname, } else if (!res && rmFiles) { - s = std::string("/bin/rm ") + _dirname+ "/" + _filename + "*"; + s = std::string("/bin/rm -f ") + _dirname+ "/" + _filename + "*"; } else {