HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux host 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: w230 (1248)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //usr/share/webmin/fsdump/notape.pl
#!/usr/bin/perl
# notape.pl
# Called when a foreground backup requests a new tape. Always fails, because
# tape changing is not supported in this case

$no_acl_check++;
delete($ENV{'SCRIPT_NAME'});	# force use of $0 to determine module
delete($ENV{'FOREIGN_MODULE_NAME'});
require './fsdump-lib.pl';
$dump = &get_dump($ARGV[0]);
$dump->{'id'} || die "Dump $ARGV[0] does not exist!";

&open_tempfile(NOTAPE, ">$module_config_directory/$dump->{'id'}.notape");
&close_tempfile(NOTAPE);
exit(2);