diff options
Diffstat (limited to 'bashrc/net')
-rw-r--r-- | bashrc/net/init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc/net/init.sh b/bashrc/net/init.sh index 61f64f2..45ee3c4 100644 --- a/bashrc/net/init.sh +++ b/bashrc/net/init.sh @@ -1,5 +1,5 @@ # get net specific data -declare -r _FQDN=$(hostname -f) +declare -r _FQDN=$(hostname -f 2>/dev/null) declare -r _NETNAME=${_FQDN#*.} if [[ -n "${_NETNAME}" ]]; then |