X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/8e58a1769ce5e492dd68904dfc81b6e077fc2a3a..100da9a5b6e8cc0a384996674a4e56ec6938f717:/onak-mail.pl 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; }