[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <492e57b2-ac0a-ff01-2698-e048e97d8e37@candelatech.com>
Date: Wed, 11 Oct 2017 09:51:56 -0700
From: Ben Greear <greearb@...delatech.com>
To: netdev <netdev@...r.kernel.org>
Subject: Ethtool question
I noticed today that setting some ethtool settings to the same value
returns an error code. I would think this should silently return
success instead? Makes it easier to call it from scripts this way:
[root@...313-6477 lanforge]# ethtool -L eth3 combined 1
combined unmodified, ignoring
no channel parameters changed, aborting
current values: tx 0 rx 0 other 1 combined 1
[root@...313-6477 lanforge]# echo $?
1
Thanks,
Ben
--
Ben Greear <greearb@...delatech.com>
Candela Technologies Inc http://www.candelatech.com
Powered by blists - more mailing lists