Skip to content

deleteoldbackups.sh uses /root/backups #17

@nigelhorne

Description

@nigelhorne

Why does deleteoldbackups.sh give this error:

/backups/bin/deleteoldbackups.sh: line 59: cd: /root/backups/: No such file or directory

/root/backups appears nowhere in my configuration file:

root@nigelhorne:/backups/bin# fgrep /root *
root@nigelhorne:/backups/bin# ls -l
total 20
-r-------- 1 root root 2184 Jul 24 14:14 backup.cfg
-rwxrwxr-x 1 root root 4318 Jul 24 14:16 backup.sh
-rwxrwxr-x 1 root root 5438 Jul 24 13:39 deleteoldbackups.sh
root@nigelhorne:/backups/bin#

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