commit a16d549adc4a76a77c2917f5acaef6d068d503c1
parent 6a760e006f099c493aa837a03972df9d0efa86d3
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Mon, 11 Jan 2021 16:09:52 +0100
This is a file, not a folder...
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sguard/sguard.sh b/sguard/sguard.sh
@@ -48,7 +48,7 @@ function reset_settings {
# reset settings if specified (and exists).
if [[ "$1" == "reset" ]]; then
- if [[ -d $ORIGSTATE ]]; then
+ if [[ -f $ORIGSTATE ]]; then
reset_settings
else
echo "Original State can not be restored. Exiting..."