diff --git a/plugins/togglex b/plugins/togglex index e2a23f41..d65e00f2 100755 --- a/plugins/togglex +++ b/plugins/togglex @@ -17,4 +17,4 @@ if [ ! -s "$selection" ]; then exit fi -xargs -0 -I {} sh -c 'if [ -x {} ] ; then chmod -x {} ; else chmod +x {} ; fi' < "$selection" +xargs -0 -I {} sh -c 'if [ -x "{}" ] ; then chmod -x "{}" ; else chmod +x "{}" ; fi' < "$selection"