Can we deliver a fix (or workaround) to this that consists in checking if /dev/null is a char device?
if (-c "/dev/null") { append ">/dev/null" to command }
Not great, but should fix adduser and useradd in environments where /dev is not populated.
Can we deliver a fix (or workaround) to this that consists in checking if /dev/null is a char device?
if (-c "/dev/null") {
append ">/dev/null" to command
}
Not great, but should fix adduser and useradd in environments where /dev is not populated.