Revision 456b77f1
b/snf-image-host/create | ||
---|---|---|
119 | 119 |
fi |
120 | 120 |
|
121 | 121 |
# Read the first line. This will remove \r and \n chars |
122 |
result=$(sed 's|\r||g' "$result_file" | xargs echo)
|
|
122 |
result=$(sed 's|\r||g' "$result_file" | head -1)
|
|
123 | 123 |
|
124 | 124 |
if [ "x$result" != "xSUCCESS" ]; then |
125 | 125 |
log_error "Helper VM returned error" |
Also available in: Unified diff