Loading install.pl +3 −3 Original line number Diff line number Diff line Loading @@ -315,12 +315,12 @@ sub check_cron { sub check_env { # Check for smbclient my $output = `which smbclient &>/dev/null`; `which smbclient 2>&1`; if ($? != 0) { die "[ERROR] Samba client seems not to be installed. (smbclient)"; die "[ERROR] No smbclient installed."; } # Check if we don't have Root # Check if we are root die "[ERROR] Must be run with root privileges\n" if $> != 0; } #-------------------------------------------------------------------- Loading Loading
install.pl +3 −3 Original line number Diff line number Diff line Loading @@ -315,12 +315,12 @@ sub check_cron { sub check_env { # Check for smbclient my $output = `which smbclient &>/dev/null`; `which smbclient 2>&1`; if ($? != 0) { die "[ERROR] Samba client seems not to be installed. (smbclient)"; die "[ERROR] No smbclient installed."; } # Check if we don't have Root # Check if we are root die "[ERROR] Must be run with root privileges\n" if $> != 0; } #-------------------------------------------------------------------- Loading