BusyBox version v1.34.1, which could not be selected "makedevs" returns "0" if it fails because a device_table file does not exist return code should be >0: $ makedevs -d /does/not/exist /tmp ; echo ret:$? rootdir=/tmp table='/does/not/exist' makedevs: /does/not/exist: No such file or directory ret:0 return code as expected >0: $ makedevs -d /does/not/exist /does/not/exist ; echo ret:$? makedevs: can't change directory to '/does/not/exist': No such file or directory ret:1