strace/qemu_multiarch_testing/hdc.dir/init
Denys Vlasenko 6acf586aa8 qemu_multiarch_testing/: a directory with scripts for build testing
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2012-03-18 23:27:23 +01:00

10 lines
261 B
Bash
Executable File

#!/bin/sh
# Emit a msg to let user know this place was reached
echo "Copying to /home"
# Had a case where cp SEGVs, let's have diagnostics for it
cp -a /mnt /home || { echo "cp: $?"; exit 1; }
cd /home/mnt || exit $?
exec ./init2
echo "Failed to exec ./init2"