-+ if (! -d "/proc/$$") {
-+ # proc not mounted? skip.
-+ skip("\$0 check: /proc not mounted?");
-+ } else {
- # First modify $0 in a subthread.
- print "# mainthread: \$0 = $0\n";
- threads->new( sub {
-@@ -123,6 +127,7 @@
- } else {
- skip("\$0 check: opening 'ps -f |' failed: $!");
- }
-+ }
++ if (! -d "/proc/$$") {
++ # proc not mounted? skip.
++ skip("\$0 check: /proc not mounted?");
++ } else {
+ # First modify $0 in a subthread.
+ #print "# mainthread: \$0 = $0\n";
+ threads->create(sub{ #print "# subthread: \$0 = $0\n";
+@@ -148,6 +152,7 @@
+ } else {
+ skip("\$0 check: opening 'ps -f |' failed: $!");
+ }
++ }