X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/8e58a1769ce5e492dd68904dfc81b6e077fc2a3a..42dbc6b5efa87e868116549c5932ab62cf716568:/onak-mail.pl?ds=sidebyside 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; }