report error without nmap output
[pxelator] / lib / PXElator / browser.pm
index a25c7fd..cd2155c 100644 (file)
@@ -1,8 +1,8 @@
 package browser;
 
 sub start {
-       my $url = shift;
-       exec "google-chrome $url http://localhost:5984/_utils/database.html?pxelator";
+       my $url = $ENV{url};
+       exec "google-chrome --user-data-dir=/tmp/chrome $url"; # http://localhost:5984/_utils/database.html?pxelator";
        exec "/etc/alternatives/x-www-browser $url";
 }