From 0b95afd5000867ebccd39fa26c1342193b93aca2 Mon Sep 17 00:00:00 2001 From: "Casper Ti. Vector" Date: Tue, 1 May 2012 19:10:06 +0800 Subject: [PATCH] Use '$( ... )' instead of '` ... `' to avoid unexpected expansions. --- src/cdm-xlaunch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cdm-xlaunch b/src/cdm-xlaunch index fceb830..75b1423 100755 --- a/src/cdm-xlaunch +++ b/src/cdm-xlaunch @@ -33,7 +33,7 @@ consolekit=false cktimeout=30 source /etc/init.d/functions.sh -args=`getopt -n "$name" -o ct: -l consolekit,timeout: -- "$@"` || exit 1 +args=$(getopt -n "$name" -o ct: -l consolekit,timeout: -- "$@") || exit 1 eval set -- "$args" for arg in "$@" do