diff options
author | Simon Rettberg | 2019-09-11 16:01:16 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-09-11 16:01:16 +0200 |
commit | 4e9d69cbde2a4d9515f859eeece361c2b6d38d33 (patch) | |
tree | 0dc9ab5a68020205f39746622ddcc913bc0d5ca5 /core/modules | |
parent | [pam-slx-plug] Change order in common-account: Move pam_unix before us (diff) | |
download | mltk-4e9d69cbde2a4d9515f859eeece361c2b6d38d33.tar.gz mltk-4e9d69cbde2a4d9515f859eeece361c2b6d38d33.tar.xz mltk-4e9d69cbde2a4d9515f859eeece361c2b6d38d33.zip |
[run-virt] Fix execution of *.inc hooks
Diffstat (limited to 'core/modules')
-rw-r--r-- | core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/vmchooser_runvirt_functions.inc | 2 |
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 |