Skip to content

Commit

Permalink
fix regression from renaming ZnapZend::Worker to ZnapZend
Browse files Browse the repository at this point in the history
  • Loading branch information
oetiker committed May 30, 2014
1 parent 573d8d2 commit a6196b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/znapzend
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use Sys::Syslog;
use File::Basename;

use Mojo::Base -strict;
use ZnapZend::Worker;
use ZnapZend;

my $opts = {};
GetOptions($opts, qw(help|h man debug|d noaction|n nodestroy syslog=s)) or exit(1);
Expand All @@ -24,7 +24,7 @@ $opts->{nodestroy} = 0 if not defined $opts->{nodestroy};

openlog(basename($0), 'cons,pid', $opts->{syslog} || 'local6');

my $znapzend = ZnapZend::Worker->new($opts);
my $znapzend = ZnapZend->new($opts);

eval {
#catch die event and log to syslog
Expand Down

0 comments on commit a6196b3

Please sign in to comment.