ntop / n2n

Peer-to-peer VPN
GNU General Public License v3.0
6.28k stars 943 forks source link

some error message #799

Closed skyformat99 closed 3 years ago

skyformat99 commented 3 years ago

After the #796 modification, there were some contradictory messages

1) ./supernode -V
17/Sep/2021 15:35:59 [sn_utils.c:241] WARNING: File xxx not found

2) ./supernode -h options for under- [-l ] lying connection ' [-M] [-V < version text >] '

3) ./supernode -v [root@demo]# [root@demo]# ps axu |grep supernode nobody 18315 0.0 0.0 11456 2432 ? Ssl 15:33 0:00 ./supernode -V

It run with a lowercase 'v' , When ps checks, it changes to a capital ‘V’, And the process actually run?

lucktu commented 3 years ago

But there's nothing wrong with mine. Everything's fine in ubuntu18.

root@xxx:/opt# supernode3 -v root@xxx:/opt# supernode3 -V supernode3: invalid option -- 'V'

root@xxx:/opt# ps -ax|grep super 29836 ? Ssl 0:00 supernode3 -v