ref: 6efb7620e6d765837b5a1758297cdfe8242911a2
parent: b75e549126641108880a24a4ff0b38171eb1a856
author: Jacob Moody <moody@posixcafe.org>
date: Tue May 31 15:30:23 EDT 2022
chdev: dont pollute environment
--- a/rc/bin/chdev
+++ b/rc/bin/chdev
@@ -1,4 +1,5 @@
#!/bin/rc
+rfork e
fn usage {
echo 'usage:' $0 '[ -nr ] devmask' >[1=2]