redirect stderr
This commit is contained in:
parent
50e9962c29
commit
7790f97bec
1 changed files with 1 additions and 1 deletions
|
@ -10,5 +10,5 @@ PROM_FILE=$TEXTFILE_COLLECTOR_DIR/deleted_libraries.prom
|
|||
(
|
||||
echo "# TYPE deleted_libraries_count gauge"
|
||||
|
||||
echo "deleted_libraries_count $( lib_users -m | wc -l )"
|
||||
echo "deleted_libraries_count $( lib_users -m 2> /dev/null | wc -l )"
|
||||
) | sponge "$PROM_FILE"
|
||||
|
|
Loading…
Add table
Reference in a new issue