diff options
author | se <se@FreeBSD.org> | 2011-10-17 14:33:41 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 2011-10-17 14:33:41 +0000 |
commit | c5a8163000a07daa179411b4763ab4e3fdb9bf39 (patch) | |
tree | 38db43ef13ced100c73c6b74c8227c773ff8da1d /etc | |
parent | 6d4595e17ad63991be17c1b14d9fec95281743ba (diff) | |
download | FreeBSD-src-c5a8163000a07daa179411b4763ab4e3fdb9bf39.zip FreeBSD-src-c5a8163000a07daa179411b4763ab4e3fdb9bf39.tar.gz |
Fix error message in case the backup storage directory does not exist and
cannot be created ($daily_backup_pkgdb_dbdir -> $daily_backup_pkgdb_dir).
MFC after: 1 week
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/periodic/daily/220.backup-pkgdb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/periodic/daily/220.backup-pkgdb b/etc/periodic/daily/220.backup-pkgdb index a6b50e5..82bf0b3 100755 --- a/etc/periodic/daily/220.backup-pkgdb +++ b/etc/periodic/daily/220.backup-pkgdb @@ -25,7 +25,7 @@ case "$daily_backup_pkgdb_enable" in then install -d -o root -g wheel -m 750 $bak || { echo '$daily_backup_pkgdb_enable is enabled but' \ - "$daily_backup_pkgdb_dbdir doesn't exist" ; + "$daily_backup_pkgdb_dir doesn't exist" ; exit 2 ; } fi |