WIPACrepo/pyglidein

Multiple Disk lines returned in grep function in condor wrapper script

Closed this issue · 1 comments

self.write_line(f, 'DISK=$(grep -e "^Disk" $_CONDOR_MACHINE_AD|awk -F "= " "{print \\$2}")') returns two lines causing the glidein_start script command to go on two lines. This causes all glidiens at new condor sites to fail. grep for ^Disk = instead.