VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/SCardLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/SCardLoader.cpp')
-rw-r--r--src/Common/SCardLoader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/SCardLoader.cpp b/src/Common/SCardLoader.cpp
index ff3c9100..16026e62 100644
--- a/src/Common/SCardLoader.cpp
+++ b/src/Common/SCardLoader.cpp
@@ -82,9 +82,9 @@ namespace VeraCrypt
string pcscPath = "";
FILE* pipe =
#ifdef TC_LINUX
- popen("ldconfig -p", "r");
+ popen("ldconfig -p 2>&1", "r");
#else
- popen("ldconfig -r", "r"); // FreeBSD
+ popen("ldconfig -r 2>&1", "r"); // FreeBSD
#endif
if (pipe)
{