summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes
diff options
context:
space:
mode:
authorSimon Rettberg2019-09-11 16:01:16 +0200
committerSimon Rettberg2019-09-11 16:01:16 +0200
commit4e9d69cbde2a4d9515f859eeece361c2b6d38d33 (patch)
tree0dc9ab5a68020205f39746622ddcc913bc0d5ca5 /core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes
parent[pam-slx-plug] Change order in common-account: Move pam_unix before us (diff)
downloadmltk-4e9d69cbde2a4d9515f859eeece361c2b6d38d33.tar.gz
mltk-4e9d69cbde2a4d9515f859eeece361c2b6d38d33.tar.xz
mltk-4e9d69cbde2a4d9515f859eeece361c2b6d38d33.zip
[run-virt] Fix execution of *.inc hooks
Diffstat (limited to 'core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes')
-rw-r--r--core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/vmchooser_runvirt_functions.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/vmchooser_runvirt_functions.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/vmchooser_runvirt_functions.inc
index a40069d2..7a469e42 100644
--- a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/vmchooser_runvirt_functions.inc
+++ b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/vmchooser_runvirt_functions.inc
@@ -248,7 +248,7 @@ run_hooks() {
export TMPDIR IMGUUID USER
"$file" "$@"
r="$?"
- elif [ "${file##.*}" = "inc" ]; then
+ elif [ "${file##*.}" = "inc" ]; then
. "$file"
r="$?"
fi