Changeset 37531ed


Ignore:
Timestamp:
08/28/15 07:37:22 (35 hours ago)
Author:
Ken Moore <moorekou@…>
Branches:
master
Children:
78719f3
Parents:
2d69368
Message:

Move the "%20" replacement routine to run on all device labels (no matter which tool found the label).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pcbsd-utils/pc-sysconfig/daemon/Backend-remdev.cpp

    r01feab7 r37531ed  
    309309        labs[0] = labs[0].section(":",-1).section("/",-1).simplified(); 
    310310        if(!labs[0].isEmpty()){ label = labs[0]; } 
    311         label.replace("%20", " "); //this field code is often not replaced properly in glabel output 
     311         
    312312      } 
    313313    } 
     
    330330    label = generateGenericLabel(type); //final option - just create a generic name 
    331331  } 
    332  
     332  label.replace("%20", " "); //this field code is often not replaced properly in glabel output 
    333333  if(fs.isEmpty()){ fs = "NONE"; } 
    334334  //Format the output 
Note: See TracChangeset for help on using the changeset viewer.