Skip to content

Revisited `su`.

Jeremy Soller requested to merge goyox86:goyox86/revisiting-su into master

Created by: goyox86

Details

  • Moved cmd line args parsing to ArgParser.
  • All the calls to panic! were replaced by calls to fail.
  • Revisited synopsis in the docs.
  • Using try where possible.
  • Using Passwd::parse_file instead of doing it manually.
  • Handled errors while parsing passwd file.
  • Added some constants.

Merge request reports