Fix fdo#49720: Dropped unnecessary "sh -c" from popen call
Change-Id: I5de4ce4e26d995c447c99c8558f621dba6cdf110
This commit is contained in:
@@ -262,7 +262,7 @@ PaperInfo PaperInfo::getSystemDefaultPaper()
|
|||||||
|
|
||||||
// try libpaper
|
// try libpaper
|
||||||
// #i78617# workaround missing paperconf command
|
// #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 )
|
if( pPipe )
|
||||||
{
|
{
|
||||||
Paper ePaper = PAPER_USER;
|
Paper ePaper = PAPER_USER;
|
||||||
|
Reference in New Issue
Block a user