Skip to content

Commit

Permalink
spelling: null
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Aug 29, 2017
1 parent 41ae28e commit ac8c76f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/analysisd/compiled_rules/register_rule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ elif [ "x$1" = "xsave" ]; then
fi
fi

cp .function_list ${DIRECTORY}/compiled_rules/function_list > /dev/nulll 2>&1
cp .function_list ${DIRECTORY}/compiled_rules/function_list > /dev/null 2>&1
if [ ! $? = 0 ]; then
echo "ERROR: Unable to save rules. You must be root to do so."
exit 1;
fi

for i in `ls *.c`; do
if [ ! "x$i" = "xgeneric_samples.c" ]; then
cp $i ${DIRECTORY}/compiled_rules/ > /dev/nulll 2>&1
cp $i ${DIRECTORY}/compiled_rules/ > /dev/null 2>&1
fi
done
echo "*Save completed at ${DIRECTORY}/compiled_rules/";
Expand Down Expand Up @@ -99,7 +99,7 @@ elif [ "x$1" = "xrestore" ]; then

for i in `ls ${DIRECTORY}/compiled_rules/*.c`; do
if [ ! "x$i" = "xgeneric_samples.c" ]; then
cp $i ./ > /dev/nulll 2>&1
cp $i ./ > /dev/null 2>&1
fi
done
echo "*Restore completed from ${DIRECTORY}/compiled_rules/";
Expand Down

0 comments on commit ac8c76f

Please sign in to comment.