diff options
-rwxr-xr-x | recvconf | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,11 +1,13 @@ #!/bin/bash -e ## Copyright (c) 2005 David B. Harris <dbharris@eelf.ddts.net> +## Copyright (c) 2005 Peter Palfrader <peter@palfrader.org> + ## This text is released under the "three-clause BSD license". ## The full text of the license is available at the end of this file. printf "\nrecvconf on %s processing:\n" "$(hostname -s)" -FILELIST=/etc/oftc/recvconf.files +FILELIST=/etc/NOREPLY/recvconf.files temptar="$(mktemp)" chmod 0600 "$temptar" @@ -151,7 +153,7 @@ fi # Check for any leftover files here; if there are any, exit with an error and print the list if [ ! -z "$(find . -type f)" ]; then - printf "The following files were not listed in /etc/oftc/recvconf.files:\n%s\n" "$(find . -type f)" >&2 + printf "The following files were not listed in $FILELIST:\n%s\n" "$(find . -type f)" >&2 exit 1 fi |