Skip to content

Commit

Permalink
Remove an unneded use of cat
Browse files Browse the repository at this point in the history
Tiny speedup; otherwise no functional change.
  • Loading branch information
DemiMarie committed May 1, 2023
1 parent 41fff23 commit 8d52756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/vif-route-qubes
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ case "$command" in
ipcmd='add'
nftables_cmd=add
cmdprefix=''
ipv6_disabled=$(cat "/proc/sys/net/ipv6/conf/$vif/disable_ipv6" || echo 1)
read -r ipv6_disabled < "/proc/sys/net/ipv6/conf/$vif/disable_ipv6" || ipv6_disabled=1
interfaces=''
separator=''

Expand Down

0 comments on commit 8d52756

Please sign in to comment.