Skip to content

Commit 053318e

Browse files
author
Alessio Treglia
committed
fix unsolicited output
1 parent 3d05972 commit 053318e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bashrcd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ f_bashrcd_register_local_symbol f_bashrcd_check_run_parts
9999
f_bashrcd_list_scripts() {
100100
local l_cmd_run_parts
101101

102-
l_cmd_run_parts="$(f_bashrcd_check_run_parts)"
102+
l_cmd_run_parts="$(f_bashrcd_check_run_parts 2>/dev/null)"
103103
${l_cmd_run_parts} --list "${BASHRCD_DIR}"
104104
}
105105
f_bashrcd_register_local_symbol f_bashrcd_list_scripts
@@ -163,7 +163,7 @@ f_bashrcd_register_local_symbol f_bashrcd_fatal_arg_not_found
163163
# main()
164164

165165
# This program can't run without run-parts or a compatible implementation
166-
f_bashrcd_check_run_parts
166+
f_bashrcd_check_run_parts &>/dev/null
167167

168168
f_bashrcd_init_userdir
169169

0 commit comments

Comments
 (0)