static char tmp[1024];
snprintf(tmp, sizeof(tmp) - 1,
- "while true; do find %s/%i/ -type f | xargs cat &> /dev/null; done",
+ "while true; do find %s/%i/ -type f | xargs cat > /dev/null 2>&1; done",
dfs_base, drm_get_card());
assert(execl("/bin/sh", "sh", "-c", tmp, (char *) NULL) != -1);
}
static char tmp[1024];
snprintf(tmp, sizeof(tmp) - 1,
- "while true; do find %s%i*/ -type f | xargs cat &> /dev/null; done",
+ "while true; do find %s%i*/ -type f | xargs cat > /dev/null 2>&1; done",
dfs_base, drm_get_card());
assert(execl("/bin/sh", "sh", "-c", tmp, (char *) NULL) != -1);
}