subcommand: Don't print error messages to stdout.
[gsu.git] / subcommand
index 5e55580..561ca1a 100644 (file)
@@ -881,6 +881,6 @@ gsu()
        ret=-$E_GSU_BAD_COMMAND
        result="$arg"
        gsu_err_msg
-       _gsu_print_available_commands
+       _gsu_print_available_commands 1>&2
        exit 1
 }