summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta_net_name2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta_net_name b/scripts/vyatta_net_name
index 3df23adf..90dd8615 100755
--- a/scripts/vyatta_net_name
+++ b/scripts/vyatta_net_name
@@ -93,7 +93,7 @@ sub biosdevname {
# may generate incorrect name.
sleep 1;
- my $biosname = `/sbin/biosdevname --policy all_ethN -i $ifname 2>>$UDEVLOG/biosdevname`;
+ my $biosname = `/sbin/biosdevname --policy all_ethN -i $ifname 2>/dev/null`;
chomp $biosname;
# if biosdevname has no answer it outputs a nothing