summaryrefslogtreecommitdiff
path: root/etc/etc.arc
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.arc
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.arc')
-rw-r--r--etc/etc.arc/MAKEDEV4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.arc/MAKEDEV b/etc/etc.arc/MAKEDEV
index c9cbb6af2f3..28a5e76b90e 100644
--- a/etc/etc.arc/MAKEDEV
+++ b/etc/etc.arc/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.19 1997/05/21 18:30:50 pefo Exp $
+# $OpenBSD: MAKEDEV,v 1.20 1997/09/07 20:29:09 dgregor Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
@@ -360,7 +360,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 ))"