Fixing installer
This commit is contained in:
parent
31e82d4b7e
commit
f8711ebd02
|
@ -24,7 +24,7 @@ while (1) {
|
||||||
|
|
||||||
sub install_from_script($script, $output_file) {
|
sub install_from_script($script, $output_file) {
|
||||||
my $script_abs = abs_path(dirname(__FILE__). '/'. $script);
|
my $script_abs = abs_path(dirname(__FILE__). '/'. $script);
|
||||||
my $user = 'sergio';
|
my $user = 'vpnmanager';
|
||||||
open my $fh, '-|', 'sudo', '-i', '-u', $user, 'perl', $script_abs;
|
open my $fh, '-|', 'sudo', '-i', '-u', $user, 'perl', $script_abs;
|
||||||
my $contents = join '', <$fh>;
|
my $contents = join '', <$fh>;
|
||||||
my $output_exists;
|
my $output_exists;
|
||||||
|
|
Loading…
Reference in New Issue