Debian Codegraph @

debian/patches/dsa/check_cert_expire_dir_check_name_fix

raw
1 Index: pkg-nagios-plugins-contrib/dsa/checks/dsa-check-cert-expire-dir
2 ===================================================================
3 --- pkg-nagios-plugins-contrib.orig/dsa/checks/dsa-check-cert-expire-dir
4 +++ pkg-nagios-plugins-contrib/dsa/checks/dsa-check-cert-expire-dir
5 @@ -26,9 +26,9 @@
6
7 sn="$0"
8 if [ "${sn%/*}" = "$sn" ]; then
9 - CERT_CHECK=dsa-check-cert-expire
10 + CERT_CHECK=check_cert_expire
11 else
12 - CERT_CHECK="${sn%/*}/dsa-check-cert-expire"
13 + CERT_CHECK="${sn%/*}/check_cert_expire"
14 fi
15
16 if [ "$#" != 1 ] ; then