artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9889fdb
)
do not pass @_ to code snippets, prepare for 5.36
author
espie
<espie@openbsd.org>
Wed, 7 Jun 2023 15:09:01 +0000
(15:09 +0000)
committer
espie
<espie@openbsd.org>
Wed, 7 Jun 2023 15:09:01 +0000
(15:09 +0000)
found out by aja@
usr.sbin/pkg_add/OpenBSD/BaseState.pm
patch
|
blob
|
history
diff --git
a/usr.sbin/pkg_add/OpenBSD/BaseState.pm
b/usr.sbin/pkg_add/OpenBSD/BaseState.pm
index
2157e9b
..
161e574
100644
(file)
--- a/
usr.sbin/pkg_add/OpenBSD/BaseState.pm
+++ b/
usr.sbin/pkg_add/OpenBSD/BaseState.pm
@@
-1,5
+1,5
@@
# ex:ts=8 sw=4:
-# $OpenBSD: BaseState.pm,v 1.
1 2022/01/21 17:41:4
1 espie Exp $
+# $OpenBSD: BaseState.pm,v 1.
2 2023/06/07 15:09:0
1 espie Exp $
#
# Copyright (c) 2007-2022 Marc Espie <espie@openbsd.org>
#
@@
-219,11
+219,11
@@
sub _system
return 1;
} elsif ($r == 0) {
$DB::inhibit_exit = 0;
- &$todo;
+ &$todo
()
;
exec {$_[0]} @_ or
exit 1;
} else {
- &$todo2;
+ &$todo2
()
;
waitpid($r, 0);
return $?;
}