From kde-commits Sun Dec 08 06:23:30 2002 From: Dirk Mueller Date: Sun, 08 Dec 2002 06:23:30 +0000 To: kde-commits Subject: KDE_3_1_BRANCH: kdebase/kdm/kfrontend X-MARC-Message: https://marc.info/?l=kde-commits&m=103932864607122 CVS commit by mueller: quote shell params M +3 -2 liloinfo.cpp 1.18.2.1 --- kdebase/kdm/kfrontend/liloinfo.cpp 1.18.2.1: @@ -232,5 +232,6 @@ bool LiloInfo::getNextOptionFromLilo() // Create the process handle liloproc << liloloc; - liloproc << QString::fromLatin1("-w") << QString::fromLatin1("-q") << QString::fromLatin1("-v") << QString::fromLatin1("-m") << bootmaploc << QString::fromLatin1("|") << QString::fromLatin1("sed") << QString::fromLatin1("-n") << QString::fromLatin1("'s/\"[^\"]*$//;/Default boot command/s/.*\"//p'") << QString::fromLatin1("|") << QString::fromLatin1("sed 's/ .*//'"); + liloproc << QString::fromLatin1("-w -q -v -m ") << KProcess::quote(bootmaploc) + << QString::fromLatin1(" | sed -n 's/\"[^\"]*$//;/Default boot command/s/.*\"//p'|sed 's/ .*//'"); // Connect to the standard output and error signals. This time standard output is