Changeset 2434 in ProjectBuilder for devel/pbmkbm/bin/pbmkbm


Ignore:
Timestamp:
Sep 6, 2019, 3:35:27 PM (5 years ago)
Author:
Bruno Cornec
Message:

force explicit analysis of boolean and when using cluck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pbmkbm/bin/pbmkbm

    r2362 r2434  
    457457
    458458my $busycmd = pb_distro_get_param($pbos,pb_conf_get("ospathcmd-busybox"));
    459 open(BUSY,"$busycmd |") || cluck "ERROR: Unable to execute $busycmd" && return;
     459open(BUSY,"$busycmd |") || (cluck "ERROR: Unable to execute $busycmd" && return);
    460460my $cmdlist = 0;
    461461while (<BUSY>) {
Note: See TracChangeset for help on using the changeset viewer.