do not try to rm sysautoload when it's not actually used for given compat;

script tried to rm /dev/null which failed
This commit is contained in:
jdolecek 2019-11-09 22:05:50 +00:00
parent de940ab69b
commit 1d1057a273
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: makesyscalls.sh,v 1.175 2019/10/13 22:31:19 christos Exp $
# $NetBSD: makesyscalls.sh,v 1.176 2019/11/09 22:05:50 jdolecek Exp $
#
# Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
# All rights reserved.
@ -116,7 +116,7 @@ systracetmp="systrace.$$"
systraceret="systraceret.$$"
cleanup() {
rm $sysdcl $sysprotos $sysent $sysnamesbottom $sysnamesfriendly $rumpsysent $rumptypes $rumpprotos $systracetmp $systraceret $sysautoloadbottom
rm $sysdcl $sysprotos $sysent $sysnamesbottom $sysnamesfriendly $rumpsysent $rumptypes $rumpprotos $systracetmp $systraceret ${sysautoloadbottom#/dev/null}
}
trap "cleanup" 0