Commit ed0dad1
committed
fix aardvark-dns error handling
Big ops, we didn't handle any error when starting aardvark-dns. While we
waited for the fork to happen we never checked the exit status of the
command thus all errors were silently ignored. Also the command is
supposed to capture the error message so we can return it as proper
error string to podman. Before we should wrote to stderr which will not
show up for podman-remote users.
Of course right now aardvark-dns doesn't actually report many errors so
we never cought this but I am trying to make bind failures visible to
users so we need this.
Signed-off-by: Paul Holzinger <[email protected]>1 parent 384fa52 commit ed0dad1
1 file changed
+24
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | | - | |
| 121 | + | |
| 122 | + | |
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
127 | 126 | | |
128 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
129 | 148 | | |
130 | 149 | | |
131 | 150 | | |
| |||
0 commit comments