Changeset 7254 in genesis for nodes/dubbelipcheck.sh


Ignore:
Timestamp:
Nov 16, 2009, 10:14:39 PM (15 years ago)
Author:
rick
Message:

before-commit.sh now checks for double ips as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nodes/dubbelipcheck.sh

    r6891 r7254  
    99allowed_dubbel_ip="172.31.255.1 172.31.255.2"
    1010tmp_files="all_ips all_ips_no_double"
     11
     12ERRNO=0
    1113
    1214#zoek alle ip address in de files op
     
    4244        if [ "$dubbel_ips" ]; then
    4345                for dubbel_ip in $dubbel_ips ; do
     46                        ERRNO=1
    4447                        echo ""
    4548                        echo "Dubbel ip gevonden: $dubbel_ip"
     
    7982
    8083main
    81 exit 0
     84exit $ERRNO
    8285
Note: See TracChangeset for help on using the changeset viewer.