/* Ensure stderr gets to us too. */
cmd = talloc_asprintf_append(cmd, " 2>&1");
-
+
pipe = popen(cmd, "r");
if (!pipe)
return talloc_asprintf(ctx, "Failed to run '%s'", cmd);
{
char cmd[strlen(dir) + sizeof("rm -rf ")];
sprintf(cmd, "rm -rf %s", dir);
-// system(cmd);
+ system(cmd);
return 0;
}