mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
First fix for .safe
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5021 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
08edd066c8
commit
65bfa41c0a
@ -93,6 +93,8 @@ validate_restorefile() # $* = label
|
|||||||
error_message "ERROR: $@ must specify a simple file name: $RESTOREFILE"
|
error_message "ERROR: $@ must specify a simple file name: $RESTOREFILE"
|
||||||
exit 2
|
exit 2
|
||||||
;;
|
;;
|
||||||
|
.safe)
|
||||||
|
;;
|
||||||
.*)
|
.*)
|
||||||
error_message "ERROR: Reserved File Name: $RESTOREFILE"
|
error_message "ERROR: Reserved File Name: $RESTOREFILE"
|
||||||
exit 2
|
exit 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user