S
S
Svyatoslav Khusamov2016-08-02 09:59:53
bash
Svyatoslav Khusamov, 2016-08-02 09:59:53

How to silence exit code commands in bash?

The command issues a non-zero exit code. The parent program that runs this command should not know about it, that is, the exit code must somehow be replaced with zero. How to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2016-11-15
@asand3r

"return 0" at the end?

3
3vi1_0n3, 2017-01-09
@3vi1_0n3

команда || exit 0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question