IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42918


Ignore:
Timestamp:
Aug 27, 2025, 9:11:40 AM (11 months ago)
Author:
eugene
Message:

allow xattr value of 4, fix the error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/bin/neb-voladm

    r39695 r42918  
    6565    pod2usage( -msg => "Options: --allocate, --available, --xattr, and --cab_id Require options --vhost or --vname", -exitval => 2 )
    6666        unless defined $vhost or defined $vname;
    67     pod2usage( -msg => "Options: --allocate, --available, and --xattr Must be 0 or 1", -exitval => 2)
     67    pod2usage( -msg => "Options: --allocate and --available must be 0 or 1", -exitval => 2)
    6868        if (defined $allocate and $allocate !~ m/^[01]$/)
    69         or (defined $available and $available !~ m/^[01]$/)
    70         or (defined $xattr and $xattr !~ m/^[01235]$/);
     69        or (defined $available and $available !~ m/^[01]$/);
     70    pod2usage( -msg => "Options: --xattr must be in the range 0-5", -exitval => 2)
     71        if (defined $xattr and $xattr !~ m/^[012345]$/);
    7172}
    7273
Note: See TracChangeset for help on using the changeset viewer.