-rwxr-xr-x | root/usr/bin/changedns | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/root/usr/bin/changedns b/root/usr/bin/changedns index 8270e86..5059d08 100755 --- a/root/usr/bin/changedns +++ b/root/usr/bin/changedns | |||
@@ -15,7 +15,7 @@ usage ( ) { | |||
15 | 15 | ||
16 | shift | 16 | shift |
17 | 17 | ||
18 | cp /etc/resolv.conf $tmpfile | 18 | [ -f /etc/resolv.conf ] && cp /etc/resolv.conf $tmpfile |
19 | 19 | ||
20 | case "$arg1" in | 20 | case "$arg1" in |
21 | "-a") | 21 | "-a") |