summaryrefslogtreecommitdiff
path: root/localnetcfgchange
diff options
context:
space:
mode:
Diffstat (limited to 'localnetcfgchange')
-rwxr-xr-xlocalnetcfgchange2
1 files changed, 1 insertions, 1 deletions
diff --git a/localnetcfgchange b/localnetcfgchange
index 7728eeb..8988bc5 100755
--- a/localnetcfgchange
+++ b/localnetcfgchange
@@ -13,6 +13,6 @@ title=${2:-Network setup}
text=${3:-Network setup succesfully changed. The change takes effect after next system restart.}
if [ -f "/etc/network/interfaces.$1" ]; then
- gksudo "/bin/cp -f \"/etc/network/interfaces.$1\" /etc/network/interfaces" \
+ gksudo -- /bin/cp -f "/etc/network/interfaces.$1" /etc/network/interfaces \
&& zenity --info --title "$title" --text "$text"
fi