diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-01-17 21:48:32 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-01-17 21:48:32 +0000 |
commit | b3a98a7ac504ecdf172f2043a6ccf72d0d94c4da (patch) | |
tree | 7d7cc3ded48fd1366c21838380b2a838b000cbeb | |
parent | 4d889b8d14354c9a45aad19f3e854a1d70487d28 (diff) |
Fix gksudo syntax.
-rwxr-xr-x | localnetcfgchange | 2 |
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 |