X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/8e58a1769ce5e492dd68904dfc81b6e077fc2a3a..6d98e0138f8ef5963d98448871b13e1cf2356c64:/onak-mail.pl?ds=inline diff --git a/onak-mail.pl b/onak-mail.pl index 30e5b93..0f108f4 100755 --- a/onak-mail.pl +++ b/onak-mail.pl @@ -22,14 +22,16 @@ sub submitupdate { my @data = @_; my (@errors, @mergedata); - open3(\*MERGEIN, \*MERGEOUT, \*MERGEERR, "/home/noodles/onak-0.0.2/keymerge"); + open3(\*MERGEIN, \*MERGEOUT, \*MERGEERR, "/home/noodles/onak-0.0.3/onak", "add"); print MERGEIN @data; close MERGEIN; @errors = ; @mergedata = ; - #print @errors; + open (LOG, ">>/home/noodles/onak-0.0.3/keyadd.log"); + print LOG @errors; + close LOG; return @mergedata; }