summaryrefslogtreecommitdiffstats
path: root/main/fakeroot/busybox-getopt.patch
blob: 94029bf2480b80cec9a252344809615b1ad46279 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/scripts/fakeroot.in b/scripts/fakeroot.in
index 324a9dc..8d4235d 100755
--- a/scripts/fakeroot.in
+++ b/scripts/fakeroot.in
@@ -43,7 +43,7 @@ export FAKED_MODE
 
 libfound=no
 
-GETOPTEST=`getopt --version`
+GETOPTEST=`getopt --version 2>/dev/null`
 case $GETOPTEST in
 getopt*) # GNU getopt
     FAKE_TEMP=`getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:f:i:s:ub:vh "$@"`