Re: fai-sed exit code
Thomas Lange <[email protected]>
| Newsgroups | gmane.linux.debian.fai |
|---|---|
| Message-ID | <[email protected]> |
>>>>> On Fri, 10 Jan 2020 14:47:15 +0100, Andreas Heinlein <[email protected]> said: > can you explain the purpose of fai-sed exiting with '1' if the file was changed? By default, this would mean a script *fails* with this exit code if a file was actually changed. > Would also be nice to update the example scripts to use fai-sed instead of sed. I want to distinguish if fai-sed has nothing to change or changed the file. Therefore in one the cases it has to return and exit code != 0. Do you have any better idea? -- regards Thomas