Ensure correct exit status by adding returns after exits in QueryDriver
Avoid exit status overwrite by adding return statements immediately after each exit(4) call in the QueryDriver's readEntries, readValue, readMapValue, readPasswordValue, and writeValue methods. This change prevents subsequent calls to quit() which could potentially alter the exit status set by exit(4), preserving the intended error signaling.
Please register or sign in to comment