diff options
-rw-r--r-- | src/lib/process/d_controller.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/process/d_controller.cc b/src/lib/process/d_controller.cc index e8d72d5f2e..f08794a9c3 100644 --- a/src/lib/process/d_controller.cc +++ b/src/lib/process/d_controller.cc @@ -250,6 +250,7 @@ DControllerBase::parseArgs(int argc, char* argv[]) { // ("c" or "d") handle it here. If its a valid custom option, then // invoke customOption. int ch; + optarg = 0; opterr = 0; optind = 1; std::string opts("dvVWc:t:" + getCustomOpts()); |