===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
sanoid-2.0.3/syncoid-456-		}
sanoid-2.0.3/syncoid:457:		system($synccmd) == 0 or do {
sanoid-2.0.3/syncoid-458-			if (defined $origin) {
##############################################
sanoid-2.0.3/syncoid-497-			if ($oldestsnap ne $newsyncsnap) {
sanoid-2.0.3/syncoid:498:				my $ret = system($synccmd);
sanoid-2.0.3/syncoid-499-				if ($ret != 0) {
##############################################
sanoid-2.0.3/syncoid-533-				($stdout, $exit) = tee_stderr {
sanoid-2.0.3/syncoid:534:					system("$synccmd")
sanoid-2.0.3/syncoid-535-				};
##############################################
sanoid-2.0.3/syncoid-537-				($stdout, $exit) = tee_stdout {
sanoid-2.0.3/syncoid:538:					system("$synccmd")
sanoid-2.0.3/syncoid-539-				};
##############################################
sanoid-2.0.3/syncoid-607-
sanoid-2.0.3/syncoid:608:					my $ret = system("$rcommand $prunecmd");
sanoid-2.0.3/syncoid-609-					if ($ret != 0) {
##############################################
sanoid-2.0.3/syncoid-629-					print "          NOTE: Target $targetfs dataset is < 64MB used - did you mistakenly run\n";
sanoid-2.0.3/syncoid:630:					print "                \`zfs create $args{'target'}\` on the target? ZFS initial\n";
sanoid-2.0.3/syncoid-631-					print "                replication must be to a NON EXISTENT DATASET, which will\n";
##############################################
sanoid-2.0.3/syncoid-661-					if ($debug) { print "$sshcmd $targethost $targetsudocmd $zfscmd rollback $rollbacktype $targetfsescaped\@$matchingsnapescaped\n"; }
sanoid-2.0.3/syncoid:662:					system ("$sshcmd $targethost " . escapeshellparam("$targetsudocmd $zfscmd rollback $rollbacktype $targetfsescaped\@$matchingsnapescaped"));
sanoid-2.0.3/syncoid-663-				} else {
sanoid-2.0.3/syncoid-664-					if ($debug) { print "$targetsudocmd $zfscmd rollback $rollbacktype $targetfsescaped\@$matchingsnapescaped\n"; }
sanoid-2.0.3/syncoid:665:					system ("$targetsudocmd $zfscmd rollback $rollbacktype $targetfsescaped\@$matchingsnapescaped");
sanoid-2.0.3/syncoid-666-				}
##############################################
sanoid-2.0.3/syncoid-700-					($stdout, $exit) = tee_stdout {
sanoid-2.0.3/syncoid:701:						system("$synccmd")
sanoid-2.0.3/syncoid-702-					};
##############################################
sanoid-2.0.3/syncoid-707-							resetreceivestate($targethost,$targetfs,$targetisroot);
sanoid-2.0.3/syncoid:708:							system("$synccmd") == 0 or do {
sanoid-2.0.3/syncoid-709-								warn "CRITICAL ERROR: $synccmd failed: $?";
##############################################
sanoid-2.0.3/syncoid-730-					($stdout, $exit) = tee_stdout {
sanoid-2.0.3/syncoid:731:						system("$synccmd")
sanoid-2.0.3/syncoid-732-					};
##############################################
sanoid-2.0.3/syncoid-737-							resetreceivestate($targethost,$targetfs,$targetisroot);
sanoid-2.0.3/syncoid:738:							system("$synccmd") == 0 or do {
sanoid-2.0.3/syncoid-739-								warn "CRITICAL ERROR: $synccmd failed: $?";
##############################################
sanoid-2.0.3/syncoid-771-				($stdout, $exit) = tee_stdout {
sanoid-2.0.3/syncoid:772:					system("$synccmd")
sanoid-2.0.3/syncoid-773-				};
##############################################
sanoid-2.0.3/syncoid-779-						resetreceivestate($targethost,$targetfs,$targetisroot);
sanoid-2.0.3/syncoid:780:						system("$synccmd") == 0 or do {
sanoid-2.0.3/syncoid-781-							warn "CRITICAL ERROR: $synccmd failed: $?";
##############################################
sanoid-2.0.3/syncoid-808-			if ($debug) { print "DEBUG: $bookmarkcmd\n"; }
sanoid-2.0.3/syncoid:809:			system($bookmarkcmd) == 0 or do {
sanoid-2.0.3/syncoid-810-				# fallback: assume nameing conflict and try again with guid based suffix
##############################################
sanoid-2.0.3/syncoid-821-				if ($debug) { print "DEBUG: $bookmarkcmd\n"; }
sanoid-2.0.3/syncoid:822:				system($bookmarkcmd) == 0 or do {
sanoid-2.0.3/syncoid-823-					warn "CRITICAL ERROR: $bookmarkcmd failed: $?";
##############################################
sanoid-2.0.3/syncoid-943-		if ($debug) { print "DEBUG: checking availability of $compressargs{'rawcmd'} on source...\n"; }
sanoid-2.0.3/syncoid:944:		$avail{'sourcecompress'} = `$sourcessh $checkcmd $compressargs{'rawcmd'} 2>/dev/null`;
sanoid-2.0.3/syncoid-945-		if ($debug) { print "DEBUG: checking availability of $compressargs{'rawcmd'} on target...\n"; }
sanoid-2.0.3/syncoid:946:		$avail{'targetcompress'} = `$targetssh $checkcmd $compressargs{'rawcmd'} 2>/dev/null`;
sanoid-2.0.3/syncoid-947-		if ($debug) { print "DEBUG: checking availability of $compressargs{'rawcmd'} on local machine...\n"; }
sanoid-2.0.3/syncoid:948:		$avail{'localcompress'} = `$checkcmd $compressargs{'rawcmd'} 2>/dev/null`;
sanoid-2.0.3/syncoid-949-	}
##############################################
sanoid-2.0.3/syncoid-1000-	if ($debug) { print "DEBUG: checking availability of $mbuffercmd on source...\n"; }
sanoid-2.0.3/syncoid:1001:	$avail{'sourcembuffer'} = `$sourcessh $checkcmd $mbuffercmd 2>/dev/null`;
sanoid-2.0.3/syncoid-1002-	if ($avail{'sourcembuffer'} eq '') {
##############################################
sanoid-2.0.3/syncoid-1009-	if ($debug) { print "DEBUG: checking availability of $mbuffercmd on target...\n"; }
sanoid-2.0.3/syncoid:1010:	$avail{'targetmbuffer'} = `$targetssh $checkcmd $mbuffercmd 2>/dev/null`;
sanoid-2.0.3/syncoid-1011-	if ($avail{'targetmbuffer'} eq '') {
##############################################
sanoid-2.0.3/syncoid-1020-		if ($debug) { print "DEBUG: checking availability of $mbuffercmd on local machine...\n"; }
sanoid-2.0.3/syncoid:1021:		$avail{'localmbuffer'} = `$checkcmd $mbuffercmd 2>/dev/null`;
sanoid-2.0.3/syncoid-1022-		if ($avail{'localmbuffer'} eq '') {
##############################################
sanoid-2.0.3/syncoid-1028-	if ($debug) { print "DEBUG: checking availability of $pvcmd on local machine...\n"; }
sanoid-2.0.3/syncoid:1029:	$avail{'localpv'} = `$checkcmd $pvcmd 2>/dev/null`;
sanoid-2.0.3/syncoid-1030-	if ($avail{'localpv'} eq '') {
##############################################
sanoid-2.0.3/syncoid-1059-		if ($debug) { print "DEBUG: checking availability of zfs resume feature on source...\n"; }
sanoid-2.0.3/syncoid:1060:		$avail{'sourceresume'} = system("$sourcessh $resumechkcmd $srcpool 2>/dev/null | grep '\\(active\\|enabled\\)' >/dev/null 2>&1");
sanoid-2.0.3/syncoid-1061-		$avail{'sourceresume'} = $avail{'sourceresume'} == 0 ? 1 : 0;
##############################################
sanoid-2.0.3/syncoid-1063-		if ($debug) { print "DEBUG: checking availability of zfs resume feature on target...\n"; }
sanoid-2.0.3/syncoid:1064:		$avail{'targetresume'} = system("$targetssh $resumechkcmd $dstpool 2>/dev/null | grep '\\(active\\|enabled\\)' >/dev/null 2>&1");
sanoid-2.0.3/syncoid-1065-		$avail{'targetresume'} = $avail{'targetresume'} == 0 ? 1 : 0;
##############################################
sanoid-2.0.3/syncoid-1125-	if ($debug) { print "$rhost $mysudocmd $zfscmd set $property=$value $fsescaped\n"; }
sanoid-2.0.3/syncoid:1126:	system("$rhost $mysudocmd $zfscmd set $property=$value $fsescaped") == 0
sanoid-2.0.3/syncoid-1127-		or warn "WARNING: $rhost $mysudocmd $zfscmd set $property=$value $fsescaped died: $?, proceeding anyway.\n";
##############################################
sanoid-2.0.3/syncoid-1326-			}
sanoid-2.0.3/syncoid:1327:			system("$rhost $prunecmd") == 0
sanoid-2.0.3/syncoid-1328-				or warn "WARNING: $rhost $prunecmd failed: $?";
##############################################
sanoid-2.0.3/syncoid-1341-		}
sanoid-2.0.3/syncoid:1342:		system("$rhost $prunecmd") == 0
sanoid-2.0.3/syncoid-1343-			or warn "WARNING: $rhost $prunecmd failed: $?";
##############################################
sanoid-2.0.3/syncoid-1375-	if ($debug) { print "DEBUG: creating sync snapshot using \"$snapcmd\"...\n"; }
sanoid-2.0.3/syncoid:1376:	system($snapcmd) == 0 or do {
sanoid-2.0.3/syncoid-1377-		warn "CRITICAL ERROR: $snapcmd failed: $?";
##############################################
sanoid-2.0.3/syncoid-1424-
sanoid-2.0.3/syncoid:1425:		system("$sshcmd -S $socket $rhost echo -n") == 0 or do {
sanoid-2.0.3/syncoid-1426-			my $code = $? >> 8;
##############################################
sanoid-2.0.3/syncoid-1765-	if ($debug) { print "$resetcmd\n"; }
sanoid-2.0.3/syncoid:1766:	system("$resetcmd") == 0
sanoid-2.0.3/syncoid-1767-		or die "CRITICAL ERROR: $resetcmd failed: $?";
##############################################
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid-312-								if (! $args{'readonly'}) {
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid:313:									if (system($zfs, "destroy", $snap) == 0) {
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid-314-										$pruned{$snap} = 1;
##############################################
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid-572-					if ($recursiveFlag) {
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid:573:						system($zfs, "snapshot", "-r", "$snap");
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid-574-					} else {
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid:575:						system($zfs, "snapshot", "$snap");
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid-576-					}
##############################################
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid-585-							if ($recursiveFlag) {
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid:586:								system($zfs, "snapshot", "-r", "$snap") == 0
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid-587-									or warn "CRITICAL ERROR: $zfs snapshot -r $snap failed, $?";
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid-588-							} else {
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid:589:								system($zfs, "snapshot", "$snap") == 0
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid-590-									or warn "CRITICAL ERROR: $zfs snapshot $snap failed, $?";
##############################################
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid-1590-		}
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid:1591:		$ret = system($config{$dataset}{$key});
sanoid-2.0.3/.pc/defaults-in-usr-share.patch/sanoid-1592-		alarm 0;
##############################################
sanoid-2.0.3/sanoid-312-								if (! $args{'readonly'}) {
sanoid-2.0.3/sanoid:313:									if (system($zfs, "destroy", $snap) == 0) {
sanoid-2.0.3/sanoid-314-										$pruned{$snap} = 1;
##############################################
sanoid-2.0.3/sanoid-572-					if ($recursiveFlag) {
sanoid-2.0.3/sanoid:573:						system($zfs, "snapshot", "-r", "$snap");
sanoid-2.0.3/sanoid-574-					} else {
sanoid-2.0.3/sanoid:575:						system($zfs, "snapshot", "$snap");
sanoid-2.0.3/sanoid-576-					}
##############################################
sanoid-2.0.3/sanoid-585-							if ($recursiveFlag) {
sanoid-2.0.3/sanoid:586:								system($zfs, "snapshot", "-r", "$snap") == 0
sanoid-2.0.3/sanoid-587-									or warn "CRITICAL ERROR: $zfs snapshot -r $snap failed, $?";
sanoid-2.0.3/sanoid-588-							} else {
sanoid-2.0.3/sanoid:589:								system($zfs, "snapshot", "$snap") == 0
sanoid-2.0.3/sanoid-590-									or warn "CRITICAL ERROR: $zfs snapshot $snap failed, $?";
##############################################
sanoid-2.0.3/sanoid-1590-		}
sanoid-2.0.3/sanoid:1591:		$ret = system($config{$dataset}{$key});
sanoid-2.0.3/sanoid-1592-		alarm 0;