test because the process on FreeBSD 9 does not finish its program
when redirecting stdout to /dev/null.
static int tested = 0, value = 0;
if (!tested) {
tested = 1;
- if (systemf("bzip2 -V %s", redirectArgs) == 0)
+ if (systemf("bzip2 -d -V %s", redirectArgs) == 0)
value = 1;
}
return (value);
static int tested = 0, value = 0;
if (!tested) {
tested = 1;
- if (systemf("bzip2 -V %s", redirectArgs) == 0)
+ if (systemf("bzip2 -d -V %s", redirectArgs) == 0)
value = 1;
}
return (value);
static int tested = 0, value = 0;
if (!tested) {
tested = 1;
- if (systemf("bzip2 -V %s", redirectArgs) == 0)
+ if (systemf("bzip2 -d -V %s", redirectArgs) == 0)
value = 1;
}
return (value);