Changeset 1197 in ProjectBuilder


Ignore:
Timestamp:
Feb 16, 2011, 2:02:10 PM (10 years ago)
Author:
Bruno Cornec
Message:
  • Typo fixed for ospathcmd
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1194 r1197  
    19931993        }
    19941994        my $hoption = "-p";
    1995         my $hpath = pb_distro_get_param($pbos,pb_conf_get("oscmdpath-halt"));
     1995        my $hpath = pb_distro_get_param($pbos,pb_conf_get("ospathcmd-halt"));
    19961996        # Solaris doesn't support -p of halt
    19971997        if ($pbos->{'type'} eq "pkg") {
     
    29652965    # Try to restrict security to what is really needed
    29662966    if ($vtype =~ /^vm/) {
    2967         my $hpath = pb_distro_get_param($pbos,pb_conf_get("oscmdpath-halt"));
     2967        my $hpath = pb_distro_get_param($pbos,pb_conf_get("ospathcmd-halt"));
    29682968        my @sudocmds = pb_get_sudocmds($pbos,$ntpline,$hpath);
    29692969        print SCRIPT << "EOF";
Note: See TracChangeset for help on using the changeset viewer.