Skip to content

Commit

Permalink
Merge branch 'patch-1' into 'master'
Browse files Browse the repository at this point in the history
Fix return code and wrong action taken

See merge request mer-core/udisks2!30
  • Loading branch information
Tomin1 committed May 28, 2021
2 parents 98707fa + e927ed3 commit 462266e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rpm/udisks2-symlink-mount-path
Expand Up @@ -21,6 +21,5 @@ do
rmdir ${path}
done

rmdir ${OLD_MOUNT_PATH}
ln -s /run/media/${DEVICEUSER} ${OLD_MOUNT_PATH}
rmdir ${OLD_MOUNT_PATH} && ln -s /run/media/${DEVICEUSER} ${OLD_MOUNT_PATH}
exit $?

0 comments on commit 462266e

Please sign in to comment.