File: 030_improve-error-message.patch

package info (click to toggle)
scalpel 1.60%2Bgit20240110.6960eb2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 560 kB
  • sloc: ansic: 4,990; makefile: 90
file content (17 lines) | stat: -rw-r--r-- 804 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: improve the error message about the configuration file.
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2015-02-01
Index: scalpel-1.60/helpers.c
===================================================================
--- scalpel-1.60.orig/helpers.c
+++ scalpel-1.60/helpers.c
@@ -315,7 +315,8 @@ void handleError(struct scalpelState *st
     scalpelLog(state,
 		 "ERROR: The configuration file didn't specify any file types to carve.\n");
     scalpelLog(state, "(If you're using the default configuration file, you'll have to\n");
-    scalpelLog(state, "uncomment some of the file types.)\n");
+    scalpelLog(state, "uncomment some of the file types.)\n\n");
+    scalpelLog(state, "See /etc/scalpel/scalpel.conf.\n");
     closeFile(state->auditFile);
     exit (-1);