diff options
Diffstat (limited to 'module/main.scm')
-rwxr-xr-x | module/main.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/module/main.scm b/module/main.scm index d9fb20cb..4eddeb14 100755 --- a/module/main.scm +++ b/module/main.scm @@ -64,7 +64,11 @@ exec guile -e main -s $0 "$@" ((info) info-main) ((ical) ical-main) ((server) server-main) - (else => (lambda (s) (error "Unsupported mode of operation:" s)))) + (else => (lambda (s) + (format (current-error-port) + "Unsupported mode of operation: ~a~%" + s) + (exit 1)))) ropt)) (newline))) |