mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
a6d9111c67
fexecve() fails with ENOENT and we need a fallback. Add appropriate test.
7 lines
124 B
Bash
Executable File
7 lines
124 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "$0 $@"
|
|
test "$(basename $0)" = "script.sh" || exit 1
|
|
test "$1" = "--version" || exit 2
|
|
echo "Life is good"
|