From d7e9a3044efe085e47f6dc759196f3e268063d66 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 31 Jul 2014 09:05:18 +0200 Subject: [PATCH] Fix two typo in pseudo create script --- root/etc/e-smith/events/actions/phplist-create-pseudo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/etc/e-smith/events/actions/phplist-create-pseudo b/root/etc/e-smith/events/actions/phplist-create-pseudo index 7fb10a1..5f9bc7c 100644 --- a/root/etc/e-smith/events/actions/phplist-create-pseudo +++ b/root/etc/e-smith/events/actions/phplist-create-pseudo @@ -6,14 +6,14 @@ use esmith::AccountsDB; my $a = esmith::AccountsDB->open or die "Couldn't open AccountsDB\n"; -my $peudo = $a->get('listreports'); +my $pseudo = $a->get('listreports'); if (!$pseudo){ $a->new_record('listreports',{ type => 'pseudonym', Account => 'admin' }); - unless ( system("/sbin/e-smith/signal-event", "pseudonym-createe", "listreports") == 0 ){ + unless ( system("/sbin/e-smith/signal-event", "pseudonym-create", "listreports") == 0 ){ die "Failed to create pseudonym listreports\n"; } }