summaryrefslogtreecommitdiff
path: root/etc/etc.i386/MAKEDEV
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-05-13 05:35:02 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-05-13 05:35:02 +0000
commit1eab4c1ea709703e299cf22769b4408bd1e0f2b3 (patch)
tree5525546d13e0503081b760ccf509974dd69ea154 /etc/etc.i386/MAKEDEV
parent3915bbd2a1acc58e9031ce6a1e6e2f886bc8e143 (diff)
Only run MAKEDEV.local if it exists. Avoids an error message
during installs where there is no MAKEDEV.local.
Diffstat (limited to 'etc/etc.i386/MAKEDEV')
-rw-r--r--etc/etc.i386/MAKEDEV4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index c432eb02d7c..9f10501422b 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.42 1997/05/04 03:28:27 tholo Exp $
+# $OpenBSD: MAKEDEV,v 1.43 1997/05/13 05:34:52 millert Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -547,7 +547,7 @@ pctr)
local)
umask 0
- sh MAKEDEV.local
+ test -s MAKEDEV.local && sh MAKEDEV.local
;;
esac