summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-09-03 08:49:17 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-09-03 08:49:17 +0000
commitad445364b46a9560a6d51208e9c88ba8e7902703 (patch)
treebfda4bd750af3144a3468924732583b1eeef3698
parentf1f3b8c7120b3af2fe0c2cd5c1aea979a5a89310 (diff)
check_sym: adjust logic not to exit 1 in the default dynamic mode
ok guenther
-rwxr-xr-xlib/check_sym6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/check_sym b/lib/check_sym
index 8333b96422c..68e268a01f7 100755
--- a/lib/check_sym
+++ b/lib/check_sym
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: check_sym,v 1.12 2024/08/15 01:25:13 guenther Exp $
+# $OpenBSD: check_sym,v 1.13 2024/09/03 08:49:16 tb Exp $
#
# Copyright (c) 2016,2019,2022 Philip Guenther <guenther@openbsd.org>
#
@@ -425,7 +425,7 @@ done
{
echo "$old --> $new"
- $dynamic && dynamic_output
- $static && static_output
+ ! $dynamic || dynamic_output
+ ! $static || static_output
}