]> ToastFreeware Gitweb - gregoa/bti.git/blobdiff - bti.c
fix crash when --debug is set
[gregoa/bti.git] / bti.c
diff --git a/bti.c b/bti.c
index 02332c46ccc84c0e7a09aab86ae70fccc2c24ddd..a9a6d435bd89a2e7ee34397cf503953d933dd34b 100644 (file)
--- a/bti.c
+++ b/bti.c
@@ -1114,10 +1114,8 @@ int main(int argc, char *argv[], char *envp[])
         * Show the version to make it easier to determine what
         * is going on here
         */
-       if (debug) {
+       if (debug)
                display_version();
-               fprintf(stderr, "%s", session->group);
-       }
 
        if (session->action == ACTION_UNKNOWN) {
                fprintf(stderr, "Unknown action, valid actions are:\n");