Actions
action #43364
closed[functional][u] Call to snapper list| head-n1 returns 141 and makes get_last_snap_number
Start date:
2018-11-05
Due date:
% Done:
0%
Estimated time:
Difficulty:
Description
Seems that when called like this it will give 141 as exit code... happens only with head apparently for the time being
https://stackoverflow.com/questions/19120263/why-exit-code-141-with-grep-q
will also happen with grep :)
bash -eox pipefail -c "snapper list | head -n1"; echo $?
+ snapper list
+ head -n1
Type | # | Pre # | Date | User | Cleanup | Description | Userdata
141
Actions