summaryrefslogtreecommitdiff
path: root/etc/etc.pmax/MAKEDEV
diff options
context:
space:
mode:
authordgregor <dgregor@cvs.openbsd.org>1997-09-07 20:29:16 +0000
committerdgregor <dgregor@cvs.openbsd.org>1997-09-07 20:29:16 +0000
commit962343b88dff66edf90e729426d2dadf728e6a35 (patch)
treec58cf5cb2765d5f9266e80e69ff5a5102000b459 /etc/etc.pmax/MAKEDEV
parent1e23bab9f98cce44a960d5ae48807ab362309d08 (diff)
In pty* rule:\n Change 'rm -rf' to 'rm -f'\n Fix {pty,tty}$n -> {pty,tty}$nam
Diffstat (limited to 'etc/etc.pmax/MAKEDEV')
-rw-r--r--etc/etc.pmax/MAKEDEV4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.pmax/MAKEDEV b/etc/etc.pmax/MAKEDEV
index eeafc426676..bf1002e7508 100644
--- a/etc/etc.pmax/MAKEDEV
+++ b/etc/etc.pmax/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.18 1997/09/07 20:01:16 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.19 1997/09/07 20:29:13 dgregor Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
@@ -247,7 +247,7 @@ pty*)
while [ $n -lt 16 ]
do
nam=$name`hex $n`
- rm -rf {tty,pty}$n
+ rm -f {tty,pty}$nam
mknod tty$nam c 4 "$(( $offset + $n ))"
mknod pty$nam c 5 "$(( $offset + $n ))"
n="$(( $n + 1 ))"