patch-sbin_hatchet 492 B

12345678910111213
  1. $OpenBSD: patch-sbin_hatchet,v 1.1.1.1 2008/06/27 15:16:01 jdixon Exp $
  2. --- sbin/hatchet.orig Thu Jun 26 17:21:36 2008
  3. +++ sbin/hatchet Thu Jun 26 17:22:20 2008
  4. @@ -11,7 +11,7 @@ use DBI;
  5. use Time::Local qw( timelocal_nocheck );
  6. our ($db_file, $stale, $log, $tcpdump, $admin_email);
  7. -require "/var/www/hatchet/conf/hatchet.conf";
  8. +require "${PREFIX}/hatchet/conf/hatchet.conf";
  9. my $dbh = DBI->connect("DBI:SQLite:dbname=$db_file", "", "") || die $DBI::errstr;
  10. $dbh->{AutoCommit} = 0;