Explorar el Código

don't try to execute init files

David Rose hace 23 años
padre
commit
4b4bf819a6
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. 1 5
      dtool/src/attach/ctattch.pl

+ 1 - 5
dtool/src/attach/ctattch.pl

@@ -239,11 +239,7 @@ sub CTAttachCompute {
       local( $loop ) ;
       local( $looptmp ) ;
       local( *INITFILE ) ;
-      if ( -x $init ) {
-          open( INITFILE, "$init $_[0] $_[1] $root |" ) ;
-      } else {
-          open( INITFILE, "< $init" ) ;
-      }
+      open( INITFILE, "< $init" ) ;
       while ( <INITFILE> ) {
           s/\n$// ;
           @linesplit = split( /\#/ ) ;