Hello,

Trying to start /etc/init.d/nprobe, i get:

[root@nprobe ~]# /etc/init.d/nprobe start
Starting nProbe ens2f0
/etc/init.d/nprobe: line 26: [: -gt: unary operator expected

The line in question is the IF statement:

    CORE_OFFSET=$(cat /etc/nprobe/nprobe-${INTERFACE_NAME}.conf | grep
"\--cpu-affinity=#ID\+" | cut -d '+' -f 2)
    if [ $CORE_OFFSET -gt 0 ]; then

​As i don't have the --cpu-affinity flag on the config, shouldn't it just
proceed ?
I tried adding the --cpu-affinity=0 but the error persists...

Anyone running this successfully in CentOS 7 ?

​Thank you,
Marco
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to