Changeset 3705


Ignore:
Timestamp:
Apr 13, 2018, 1:17:45 AM (2 months ago)
Author:
bruno
Message:

Check return status of mr-net-get-config to avoid errors due to missing perl modules e.g.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi/mindi

    r3702 r3705  
    10121012    if [ -f $MINDI_TMP/NETFS-SERVER-MOUNT ]; then
    10131013        mr-net-get-config `cat $MINDI_TMP/NETFS-SERVER-MOUNT` >> $outfile
     1014        if [ $? -ne 0 ]; then
     1015            Die "mr-net-get-config didn't execute correctly. Check dependencies, probably the perl Net::IPv4Addr module is missing"
     1016        fi
    10141017    fi
    10151018}
Note: See TracChangeset for help on using the changeset viewer.