diff options
Diffstat (limited to 'core/modules')
-rwxr-xr-x | core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc index a4d559a3..4adc9250 100755 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/10_functions.inc @@ -103,7 +103,7 @@ function mount_share() if [ "$ERR" -eq 0 ]; then logger "openslx sharemapper: Linking ${SHARELETTER} and $SHARENAME, if possible." [ -n "${SHARELETTER}" ] && ln -s "$USERSHAREDIR" "${USERDESKTOP}"/"$SHARELETTER" - [ -n "${SHARELETTER}" ] && ln -s "$USERSHAREDIR" "${USERDESKTOP}"/"$SHARENAME" + [ -n "${SHARENAME}" ] && ln -s "$USERSHAREDIR" "${USERDESKTOP}"/"$SHARENAME" else logger "openslx sharemapper: deleting previously creates share mount dir $USERSHAREDIR." rmdir "$USERSHAREDIR" 2>/dev/null |