criu/scripts
Stanislav Kinsburskiy dd3a901210 systemd-autofs-restart.sh: explicitly return result from get_fs_type
This helper uses other binaries (like awk), which can fail or be killed.
It this case might be, that no mountpoint is found.
Or, on other hand, the whole mount point path is wrong, and is absend in
mountinfo.
Return explicit error in this case.
Without this patch, script will proceed further, and, since returned value is
empty, it doesn't equal to "autofs", so script will try to bind-mount autofs
mount, resulting in hung.

 travis-ci: success for systemd-autofs-restart.sh: explicitly return result from get_fs_type
Signed-off-by: Stanislav Kinsburskiy <skinsbursky@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-10-10 12:48:20 +03:00
..
build Travis: check mrproper cleanings 2016-09-27 17:06:00 +03:00
nmk nmk: built.mk -- Add missing space 2016-10-10 12:48:19 +03:00
travis zdtm: check "criu dedup" 2016-09-26 15:42:40 +03:00
crit-setup.py build: pycriu -- Move into lib/py 2016-02-19 14:32:19 +03:00
fake-restore.sh scripts: Add script to abort restore at the end 2014-02-05 19:40:47 +04:00
feature-tests.mak kerndat: check the TCP_REPAIR_WINDOW option 2016-08-08 15:20:45 +03:00
flake8.cfg zdtm: use flake8 to verify zdtm.py 2016-06-28 13:09:35 +03:00
gen-offsets.sh build: Move pie/gen-offsets.sh into scripts/ 2013-10-15 11:30:41 +04:00
install-debian-pkgs.sh Add script to install required packages to compile in Debian 2016-09-26 15:42:43 +03:00
magic-gen.py scripts: add magic-gen.py 2015-01-14 20:44:45 +04:00
protobuf-gen.sh build/make: return to make from top directory 2016-08-01 18:38:32 +03:00
systemd-autofs-restart.sh systemd-autofs-restart.sh: explicitly return result from get_fs_type 2016-10-10 12:48:20 +03:00
tmp-files.sh tmpfiles: implement user tmp files feature 2016-03-09 12:48:33 +03:00