Просмотр исходного кода

feat(main): add PERMISSION_DENIED exit code

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen 2 лет назад
Родитель
Сommit
1ed2e1f84d
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/main.rs

+ 3 - 0
src/main.rs

@@ -382,4 +382,7 @@ mod exits {
 
     /// Exit code for when the command-line options are invalid.
     pub const OPTIONS_ERROR: i32 = 3;
+
+    /// Exit code for when the you don't have permissions for the file.
+    pub const PERMISSION_DENIED: i32 = 13;
 }