python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / networking / dhcp / set-hostname.patch
blob7aa9d0814514449c78512c533c33445537cfd457
1 --- a/client/scripts/linux 2010-09-15 00:49:48.000000000 +0200
2 +++ b/client/scripts/linux 2011-04-01 16:08:10.984372269 +0200
3 @@ -133,9 +133,7 @@
4 [ "$current_hostname" = '(none)' ] ||
5 [ "$current_hostname" = 'localhost' ] ||
6 [ "$current_hostname" = "$old_host_name" ]; then
7 - if [ "$new_host_name" != "$old_host_name" ]; then
8 - hostname "$new_host_name"
9 - fi
10 + hostname "$new_host_name"