- if (defined $v0config) {
- $v0config =~ s{^}{./} unless $v0config =~ m{^/};
- print "trying v0 config $v0config...\n" if $protocol eq 'debug';
- execreal $v0config;
+sub try_v0config() {
+ return unless $v0config;
+ return unless $v0config =~ m{^[^#]};
+ return if $v0config eq '/dev/null';
+ if ($v0config =~ m{^/}) {
+ if (!stat $v0config) {
+ die "v0 config $v0config: $!\n" unless $!==ENOENT;
+ return;
+ }