Parent Directory | Revision Log | Patch
revision 46 by dpavlin, Sun Mar 30 12:48:18 2008 UTC | revision 49 by dpavlin, Thu Aug 14 22:47:54 2008 UTC | |
---|---|---|
# | Line 88 sub conf_veids { | Line 88 sub conf_veids { |
88 | open( my $cfgs, 'find /etc/vz/conf -maxdepth 1 -name "*.conf" |' ) || die "can't run find: $!"; | open( my $cfgs, 'find /etc/vz/conf -maxdepth 1 -name "*.conf" |' ) || die "can't run find: $!"; |
89 | while(<$cfgs>) { | while(<$cfgs>) { |
90 | chomp; | chomp; |
91 | if ( m#^.+/(\d+)\.conf$# ) { | if ( m{^.+/(\d+)\.conf$} ) { |
92 | if ( -d "$vz_root/private/$1" ) { | if ( -d "$vz_root/private/$1" ) { |
93 | push @c, $1; | push @c, $1; |
94 | } else { | } else { |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |