Removal of missing directory warnings
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Mar 2008 14:17:24 +0000 (14:17 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Mar 2008 14:17:24 +0000 (14:17 +0000)
MONITOR/deroot.cxx

index 415f06a..2d798a5 100644 (file)
@@ -43,7 +43,7 @@ int deroot(const char *rootFileName, const char *dateFileName, const char *ddlFi
   size_t gdcSize;
   if (ddlFilesFolder) {
     char command[256];
-    sprintf(command, "rm -r %s/raw%ld", ddlFilesFolder, gdcCounter);
+    sprintf(command, "rm -rf %s/raw%ld", ddlFilesFolder, gdcCounter);
     gSystem->Exec(command);
     sprintf(command, "%s/raw%ld", ddlFilesFolder, gdcCounter);
     if (gSystem->MakeDirectory(command) < 0) {