summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-05-10 13:45:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-05-10 13:45:32 +0200
commita50a33c3a7505f78d1ab82b746f1234f404e411e (patch)
tree9464d1b0fa29e8717755770bf01f1408af8a3b0e
parent5386b7633d857ef100aa7022effd0678741fab97 (diff)
Fix fdo#49720: Dropped unnecessary "sh -c" from popen call
Change-Id: I5de4ce4e26d995c447c99c8558f621dba6cdf110
-rw-r--r--i18nutil/source/utility/paper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nutil/source/utility/paper.cxx b/i18nutil/source/utility/paper.cxx
index a79089d93893..0f6b813e5754 100644
--- a/i18nutil/source/utility/paper.cxx
+++ b/i18nutil/source/utility/paper.cxx
@@ -262,7 +262,7 @@ PaperInfo PaperInfo::getSystemDefaultPaper()
// try libpaper
// #i78617# workaround missing paperconf command
- FILE* pPipe = popen( "sh -c paperconf 2>/dev/null", "r" );
+ FILE* pPipe = popen( "paperconf 2>/dev/null", "r" );
if( pPipe )
{
Paper ePaper = PAPER_USER;