Skip to content

Fail to move when using non-EN locale #49

@SamuNatsu

Description

@SamuNatsu

Lines here only works on English locales:

if [[ $OUT =~ "Permission denied" ]]; then

If the user uses other locales (e.g. Chinese), there's no Permission denied string in the output, instead a 权限不够.

So maybe we should try other methods to check whether move fails by permission denied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions