summaryrefslogtreecommitdiff
path: root/etc/etc.sparc/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.sparc/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.sparc/MAKEDEV')
-rw-r--r--etc/etc.sparc/MAKEDEV4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV
index c5f73405299..13542b6c069 100644
--- a/etc/etc.sparc/MAKEDEV
+++ b/etc/etc.sparc/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.31 1997/08/24 22:44:08 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.32 1997/09/07 20:29:15 dgregor Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -485,7 +485,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 20 `add $offset $n`
mknod pty$nam c 21 `add $offset $n`
n=`add $n 1`